EnkaNetwork.py/enkanetwork/exception.py

20 lines
520 B
Python
Raw Normal View History

2022-06-22 06:14:31 +00:00
class VaildateUIDError(Exception):
""" Raised when the UID is not valid. """
2022-06-22 06:14:31 +00:00
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."""
2022-07-29 04:31:21 +00:00
pass