mirror of
https://github.com/norohind/FDEV-CAPI-Handler.git
synced 2025-06-07 10:53:23 +03:00
Because user can don't have a game so no nickname, but his FDEV tokens still suits for not CAPI requests (i.e. squadrons api)
15 lines
348 B
Python
15 lines
348 B
Python
class CAPIException(Exception):
|
|
pass
|
|
|
|
|
|
class RefreshFail(CAPIException):
|
|
def __init__(self, message: str, status: str, state: str):
|
|
self.message = message
|
|
self.status = status
|
|
self.state = state
|
|
super().__init__(str(self.message) + ' for ' + str(self.state))
|
|
|
|
|
|
class NoFID(Exception):
|
|
pass
|