Exceptions#

UnbException#

exception unbelipy.UnbException#

Base exception class for unbelipy.

HTTPException#

exception unbelipy.HTTPException#

The exception that is raised when a HTTP request has failed.

This is a subclass of UnbException.

BadRequest#

exception unbelipy.BadRequest#

Exception that is raised when the response’ status code is 400.

This inherits from HTTPException.

Unauthorized#

exception unbelipy.Unauthorized#

Exception that is raised when the response’ status code is 401.

This inherits from HTTPException.

NotFound#

exception unbelipy.NotFound#

Exception that is raised when the response’ status code is 404.

This inherits from HTTPException.

TooManyRequests#

exception unbelipy.TooManyRequests#

Exception that is raised when the response’ status code is 429.

This inherits from HTTPException.

UnknownException#

exception unbelipy.UnknownException#

The exception that is raised when unknown data is received from the API.

This is a subclass of UnbException.