mirror of
https://github.com/PaiGramTeam/EnkaNetwork.py.git
synced 2024-11-16 03:45:28 +00:00
3ec03d9b06
- add http client - update example - add aenter, aexit for auto close client
20 lines
520 B
Python
20 lines
520 B
Python
class VaildateUIDError(Exception):
|
|
""" Raised when the UID is not valid. """
|
|
pass
|
|
|
|
class UIDNotFounded(Exception):
|
|
""" Raised when the UID is not found. """
|
|
pass
|
|
|
|
class HTTPException(Exception):
|
|
""" Exception that's raised when an HTTP request operation fails. """
|
|
pass
|
|
|
|
class Forbidden(HTTPException):
|
|
""" Exception that's raised for when status code 403 occurs."""
|
|
pass
|
|
|
|
class EnkaServerError(HTTPException):
|
|
""" Exception that's raised for when status code 500 occurs."""
|
|
pass
|