API Reference
errors
Classes:
-
AlgoScrewedUpMassivelyError–Raised when something goes wrong on the server side.
-
AssetDownloadError–Raised when an asset fail to download.
-
EnkaAPIError–Base exception class for Enka API.
-
EnkaPyError–Base exception class for enka.py.
-
GameMaintenanceError–Raised when the game is under maintenance.
-
GeneralServerError–Raised when a general server error occurs.
-
InvalidItemTypeError–Raised when the item type is invalid.
-
PlayerDoesNotExistError–Raised when the player does not exist.
-
RateLimitedError–Raised when the API rate limit is exceeded.
-
WrongUIDFormatError–Raised when the UID format is incorrect.
Functions:
-
raise_for_retcode–Raises an exception based on the retcode.
APIRequestTimeoutError
Raised when an API request times out.
AlgoScrewedUpMassivelyError
Raised when something goes wrong on the server side.
AssetDownloadError
AssetKeyError
EnkaAPIError
Base exception class for Enka API.
EnkaPyError
Base exception class for enka.py.
GameMaintenanceError
Raised when the game is under maintenance.
GatewayTimeoutError
Raised when a gateway timeout occurs.
GeneralServerError
Raised when a general server error occurs.
InvalidItemTypeError
Raised when the item type is invalid.
PlayerDoesNotExistError
Raised when the player does not exist.
RateLimitedError
Raised when the API rate limit is exceeded.
WrongUIDFormatError
Raised when the UID format is incorrect.