MibooGram/modules/gacha_log/error.py
洛水居室 ab1c490a13
♻️ 重构 gacha_log
Co-authored-by: xtaodada <xtao@xtaolink.cn>
2022-10-21 19:34:49 +08:00

30 lines
603 B
Python

class GachaLogException(Exception):
pass
class GachaLogFileError(GachaLogException):
pass
class GachaLogNotFound(GachaLogException):
pass
class GachaLogAccountNotFound(GachaLogException):
pass
class GachaLogInvalidAuthkey(GachaLogException):
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