mirror of
https://github.com/QingdaoU/JudgeServer.git
synced 2024-12-29 14:11:44 +00:00
25 lines
418 B
Python
25 lines
418 B
Python
class JudgeServerException(Exception):
|
|
def __init__(self, message):
|
|
super().__init__()
|
|
self.message = message
|
|
|
|
|
|
class CompileError(JudgeServerException):
|
|
pass
|
|
|
|
|
|
class SPJCompileError(JudgeServerException):
|
|
pass
|
|
|
|
|
|
class TokenVerificationFailed(JudgeServerException):
|
|
pass
|
|
|
|
|
|
class JudgeClientError(JudgeServerException):
|
|
pass
|
|
|
|
|
|
class JudgeServiceError(JudgeServerException):
|
|
pass
|