2022-10-21 11:34:49 +00:00
|
|
|
class GachaLogException(Exception):
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
class GachaLogFileError(GachaLogException):
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
class GachaLogNotFound(GachaLogException):
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
class GachaLogAccountNotFound(GachaLogException):
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
2022-12-28 13:57:40 +00:00
|
|
|
class GachaLogAuthkeyException(GachaLogException):
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
class GachaLogAuthkeyTimeout(GachaLogAuthkeyException):
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
class GachaLogInvalidAuthkey(GachaLogAuthkeyException):
|
2022-10-21 11:34:49 +00:00
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
class GachaLogMixedProvider(GachaLogException):
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
class PaimonMoeGachaLogFileError(GachaLogFileError):
|
|
|
|
def __init__(self, file_version: int, support_version: int):
|
|
|
|
super().__init__("Paimon.Moe version not supported")
|
|
|
|
self.support_version = support_version
|
|
|
|
self.file_version = file_version
|
2024-09-08 14:59:18 +00:00
|
|
|
|
|
|
|
|
|
|
|
class GachaLogWebError(GachaLogException):
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
class GachaLogWebNotConfigError(GachaLogWebError):
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
class GachaLogWebUploadError(GachaLogWebError):
|
|
|
|
pass
|