Exceptions

exception pyrebrandly.exceptions.APIError[source]

Base API Error

exception pyrebrandly.exceptions.APITimeoutError[source]

API Operation Timeout

Code: 504

exception pyrebrandly.exceptions.APIUnavailableError[source]

API endpoint under maintenance

Code: 503

exception pyrebrandly.exceptions.AlreadyExistsError[source]

Link etc. Already Exists

Code: 403

exception pyrebrandly.exceptions.BadGatewayError[source]

Failure in Rebrandly’s upstream providers

Code: 502

exception pyrebrandly.exceptions.BadRequestError[source]

Invalid JSON Request

Code: 400

exception pyrebrandly.exceptions.Error[source]

Base Error

exception pyrebrandly.exceptions.InternalServerError[source]

API Endpoint Server Error

Code: 500

exception pyrebrandly.exceptions.InvalidFormatError[source]

Invalid input format

Missing body

Limits threshold reached

Code: 403

exception pyrebrandly.exceptions.InvalidOptionsError(*, possible=None, invalid=None)[source]

Invalid Options in Options dict()

:exception InvalidOptionsError

exception pyrebrandly.exceptions.NotAuthorizedError[source]

Authorization credentials invalid

oAuth Token expired etc.

Code: 401

exception pyrebrandly.exceptions.NotEnoughArgumentsError(*, func=None, args=None)[source]

Not Enough Arguments for method

exception pyrebrandly.exceptions.NotFoundError[source]

Resource/Endpoint not found

Code: 404

exception pyrebrandly.exceptions.RebrandlyError[source]

Base+Base Error