Exceptions
The following exceptions are raised by dankmemer.py:
UnsupportedRouteException is raised when a route other than items is
used with the default Gwapes API. Its message explains the permanent DankAlert
shutdown, limited Gwapes support, and Dank Memer Rule 13.
- exception dankmemer.exceptions.BadRequestException(message, status_code=None, route=None)[source]
Exception raised for a bad request (HTTP 400).
- exception dankmemer.exceptions.DankMemerConnectionException(message, route=None)[source]
Exception raised when the client cannot reach the API.
- exception dankmemer.exceptions.DankMemerHTTPException(message, status_code=None, route=None)[source]
Base exception for errors returned by an HTTP data source.
- exception dankmemer.exceptions.DankMemerResponseException(message, status_code=None, route=None)[source]
Exception raised when the API response cannot be decoded.
- exception dankmemer.exceptions.NotFoundException(message, status_code=None, route=None)[source]
Exception raised when a requested resource is not found (HTTP 404).
- exception dankmemer.exceptions.RateLimitException(message, status_code=None, route=None)[source]
Exception raised when rate limited (HTTP 429).