Exceptions

Exceptions for use throughout the package

exception fabman.exceptions.BadRequest(message)

Bases: FabmanException

Fabman was unable to understand the request. More information may be needed or arguments may need to be fixed.

exception fabman.exceptions.Conflict(message)

Bases: FabmanException

The request could not be completed due to a conflict with the current state of the resource.

exception fabman.exceptions.FabmanException(message)

Bases: Exception

Base class for all Fabman exceptions

exception fabman.exceptions.ForbiddenError(message)

Bases: FabmanException

The access token provided does not have permission to access the resource.

exception fabman.exceptions.InvalidAccessToken(message)

Bases: FabmanException

The access token provided was invalid.

exception fabman.exceptions.RateLimitExceeded(message)

Bases: FabmanException

The request was valid, but too may requests have been issued from this access token. Please try again later.

exception fabman.exceptions.ResourceDoesNotExist(message)

Bases: FabmanException

The resource requested does not exist.

exception fabman.exceptions.Unauthorized(message)

Bases: FabmanException

The access token provided was not authorized to access the resource.

exception fabman.exceptions.UnprocessableEntity(message)

Bases: FabmanException

The request was well-formed but was unable to be followed due to semantic errors.