Exceptions¶
General Exceptions¶
- exception arya_api_framework.errors.FrameworkException¶
The core exception for all exceptions used in the API framework.
- exception arya_api_framework.errors.ValidationError¶
- This exception inherits from FrameworkException.
Raised when validating a variable’s type.
Extension Exceptions¶
- exception arya_api_framework.errors.ExtensionError(message=None, *args, name)¶
- This exception inherits from FrameworkException.
The base exception for errors related to extensions.
- exception arya_api_framework.errors.ExtensionNotFound(name)¶
- This exception inherits from ExtensionError.
Raised when an extension is requested to be loaded, but it cannot be found.
- exception arya_api_framework.errors.ExtensionAlreadyLoaded(name)¶
- This exception inherits from ExtensionError.
Raised when an extension that is being loaded has already been loaded.
- exception arya_api_framework.errors.ExtensionNotLoaded(name)¶
- This exception inherits from ExtensionError.
Raised when an extension that is being unloaded is not currently loaded.
- exception arya_api_framework.errors.ExtensionEntryPointError(name)¶
- This exception inherits from ExtensionError.
Raised when an extension is being loaded, but not
setupentry point function was found.
- exception arya_api_framework.errors.ExtensionFailed(name, original)¶
- This exception inherits from ExtensionError.
Raised when an extension fails to load during the module
setupentry point function.
Client Exceptions¶
- exception arya_api_framework.errors.ClientError¶
- This exception inherits from FrameworkException.
The parent exception for any client-specific errors.
- exception arya_api_framework.errors.AsyncClientError¶
- This exception inherits from ClientError.
The parent exception for any async client-specific errors.
- exception arya_api_framework.errors.SyncClientError¶
- This exception inherits from ClientError.
The parent exception for any sync client-specific errors.
SubClient Exceptions¶
- exception arya_api_framework.errors.SubClientError(message=None, *args, name)¶
- This exception inherits from ClientError.
The base exception for errors related to
SubClients.
- exception arya_api_framework.errors.SubClientAlreadyLoaded(name)¶
- This exception inherits from SubClientError.
Raised when a
SubClientthat is being loaded has already been loaded.
- exception arya_api_framework.errors.SubClientParentSet(name)¶
- This exception inherits from SubClientAlreadyLoaded.
Raised when a
SubClientthat is being loaded already has aparentset, meaning it has been previously loaded.
- exception arya_api_framework.errors.SubClientNotLoaded(name)¶
- This exception inherits from SubClientError.
Raised when a
SubClientthat is being unloaded is not currently loaded.
Request Exceptions¶
- exception arya_api_framework.errors.ResponseParseError(raw_response)¶
- This exception inherits from ClientError.
The exception for failure to parse the response to request.
This is usually raised if the response body was not readable by
json.loads().
- exception arya_api_framework.errors.HTTPError(response)¶
- This exception inherits from FrameworkException.
The base exception for any request errors.
See HTTP Status Codes for information about HTTP status codes.
- exception arya_api_framework.errors.HTTPRedirect(response)¶
- This exception inherits from HTTPError.
Raised for any
3xx Redirectionresponses.These codes indicate that further action needs to be taken by the user in order to fulfill the request.
See 3xx Redirect for information about
3xxresponses.
- exception arya_api_framework.errors.HTTPClientError(response)¶
- This exception inherits from HTTPError.
Raised for any
4xx Client Errorresponses.These codes occur when an error has occurred as a result of the client application or user input, such as a malformed request.
See 4xx Client Error for information about
4xxresponses.
- exception arya_api_framework.errors.HTTPServerError(response)¶
- This exception inherits from HTTPError.
Raised for any
5xx Server Errorresponses.These codes occur when the server is aware that is has made an error, or is incapable of performing the request.
See 5xx Server Error for information about
5xxresponses.
300 Errors¶
- exception arya_api_framework.errors.HTTPMultipleChoices(response)¶
- This exception inherits from HTTPRedirect.
- exception arya_api_framework.errors.HTTPMovedPermanently(response)¶
- This exception inherits from HTTPRedirect.
- exception arya_api_framework.errors.HTTPFound(response)¶
- This exception inherits from HTTPRedirect.
- exception arya_api_framework.errors.HTTPSeeOther(response)¶
- This exception inherits from HTTPRedirect.
- exception arya_api_framework.errors.HTTPNotModified(response)¶
- This exception inherits from HTTPRedirect.
- exception arya_api_framework.errors.HTTPUseProxy(response)¶
- This exception inherits from HTTPRedirect.
- exception arya_api_framework.errors.HTTPReserved(response)¶
- This exception inherits from HTTPRedirect.
- exception arya_api_framework.errors.HTTPTemporaryRedirect(response)¶
- This exception inherits from HTTPRedirect.
- exception arya_api_framework.errors.HTTPPermanentRedirect(response)¶
- This exception inherits from HTTPRedirect.
400 Errors¶
- exception arya_api_framework.errors.HTTPBadRequest(response)¶
- This exception inherits from HTTPClientError.
- exception arya_api_framework.errors.HTTPUnauthorized(response)¶
- This exception inherits from HTTPClientError.
- exception arya_api_framework.errors.HTTPPaymentRequired(response)¶
- This exception inherits from HTTPClientError.
- exception arya_api_framework.errors.HTTPForbidden(response)¶
- This exception inherits from HTTPClientError.
- exception arya_api_framework.errors.HTTPNotFound(response)¶
- This exception inherits from HTTPClientError.
- exception arya_api_framework.errors.HTTPMethodNotAllowed(response)¶
- This exception inherits from HTTPClientError.
- exception arya_api_framework.errors.HTTPNotAcceptable(response)¶
- This exception inherits from HTTPClientError.
- exception arya_api_framework.errors.HTTPProxyAuthenticationRequired(response)¶
- This exception inherits from HTTPClientError.
- exception arya_api_framework.errors.HTTPRequestTimeout(response)¶
- This exception inherits from HTTPClientError.
- exception arya_api_framework.errors.HTTPConflict(response)¶
- This exception inherits from HTTPClientError.
- exception arya_api_framework.errors.HTTPGone(response)¶
- This exception inherits from HTTPClientError.
- exception arya_api_framework.errors.HTTPLengthRequired(response)¶
- This exception inherits from HTTPClientError.
- exception arya_api_framework.errors.HTTPPreconditionFailed(response)¶
- This exception inherits from HTTPClientError.
- exception arya_api_framework.errors.HTTPRequestEntityTooLarge(response)¶
- This exception inherits from HTTPClientError.
- exception arya_api_framework.errors.HTTPRequestUriTooLong(response)¶
- This exception inherits from HTTPClientError.
- exception arya_api_framework.errors.HTTPUnsupportedMediaType(response)¶
- This exception inherits from HTTPClientError.
- exception arya_api_framework.errors.HTTPRequestedRangeNotSatisfiable(response)¶
- This exception inherits from HTTPClientError.
- exception arya_api_framework.errors.HTTPExpectationFailed(response)¶
- This exception inherits from HTTPClientError.
- exception arya_api_framework.errors.HTTPImATeapot(response)¶
- This exception inherits from HTTPClientError.
- exception arya_api_framework.errors.HTTPMisdirectedRequest(response)¶
- This exception inherits from HTTPClientError.
- exception arya_api_framework.errors.HTTPUnprocessableEntity(response)¶
- This exception inherits from HTTPClientError.
- exception arya_api_framework.errors.HTTPFailedDependency(response)¶
- This exception inherits from HTTPClientError.
- exception arya_api_framework.errors.HTTPTooEarly(response)¶
- This exception inherits from HTTPClientError.
- exception arya_api_framework.errors.HTTPUpgradeRequired(response)¶
- This exception inherits from HTTPClientError.
- exception arya_api_framework.errors.HTTPPreconditionRequired(response)¶
- This exception inherits from HTTPClientError.
- exception arya_api_framework.errors.HTTPTooManyRequests(response)¶
- This exception inherits from HTTPClientError.
- exception arya_api_framework.errors.HTTPRequestHeaderFieldsTooLarge(response)¶
- This exception inherits from HTTPClientError.
- This exception inherits from HTTPClientError.
500 Errors¶
- exception arya_api_framework.errors.HTTPInternalServerError(response)¶
- This exception inherits from HTTPClientError.
- exception arya_api_framework.errors.HTTPNotImplemented(response)¶
- This exception inherits from HTTPClientError.
- exception arya_api_framework.errors.HTTPBadGateway(response)¶
- This exception inherits from HTTPClientError.
- This exception inherits from HTTPClientError.
- exception arya_api_framework.errors.HTTPGatewayTimeout(response)¶
- This exception inherits from HTTPClientError.
- exception arya_api_framework.errors.HTTPHttpServerVersionNotSupported(response)¶
- This exception inherits from HTTPClientError.
- exception arya_api_framework.errors.HTTPVariantAlsoNegotiates(response)¶
- This exception inherits from HTTPClientError.
- exception arya_api_framework.errors.HTTPInsufficientStorage(response)¶
- This exception inherits from HTTPClientError.
- exception arya_api_framework.errors.HTTPLoopDetected(response)¶
- This exception inherits from HTTPClientError.
- exception arya_api_framework.errors.HTTPNotExtended(response)¶
- This exception inherits from HTTPClientError.
- exception arya_api_framework.errors.HTTPNetworkAuthenticationRequired(response)¶
- This exception inherits from HTTPClientError.