Exceptions¶
Exceptions collection for the rt library.
- exception rt.exceptions.AuthorizationError[source]¶
Exception raised when module cannot access API due to invalid or missing credentials.
- exception rt.exceptions.BadRequestError[source]¶
Exception raised when HTTP code 400 (Bad Request) is received.
- exception rt.exceptions.ConnectionError(message: str, cause: Exception)[source]¶
Encapsulation of various exceptions indicating network problems.
- exception rt.exceptions.InvalidQueryError[source]¶
Exception raised when attempting to search RT with an invalid raw query.
- exception rt.exceptions.InvalidUseError[source]¶
Exception raised when API method is not used correctly.
- exception rt.exceptions.NotAllowedError[source]¶
Exception raised when request cannot be finished due to insufficient privileges.
- exception rt.exceptions.UnexpectedMessageFormatError[source]¶
Exception raised when response has bad status code (not the HTTP code, but code in the first line of the body as 200 in RT/4.0.7 200 Ok) or message parsing fails because of unexpected format.