Module yajaw.exceptions
Basic import statement for the module is:
Module description
Module responsible for the definition of yajaw exceptions.
HttpClientError
Bases: YajawError
Base class for errors associated with a HTTP Status Code 4xx. Error is derived from super class YajawError.
HttpServerError
Bases: YajawError
Base class for errors associated with a HTTP Status Code 5xx. Error is derived from super class HttpClientError.
InvalidResponseError
Bases: YajawError
Response received is not valid. It is usually raised from underlying problems, such as runtime errors in HTTP requests, or processing the received results. Error is derived from super class YajawError.
Source code in yajaw/exceptions.py
ResourceForbiddenError
Bases: HttpClientError
Authenticated user is forbidden from access the resource. Error is derived from super class HttpClientError.
ResourceMethodNotAllowedError
Bases: HttpClientError
Requested resource does not support the informed HTTP method. Low level error for internal modules use. Error is derived from super class HttpClientError.
ResourceNotFoundError
Bases: HttpClientError
Requested resource could not be found as informed. Error is derived from super class HttpClientError.
ResourceUnauthorizedError
Bases: HttpClientError
Authenticated user is unauthorized from access the resource. Error is derived from super class HttpClientError.