cloudendure.exceptions
Define the CloudEndure exceptions.
CloudEndureException
CloudEndureException(self, /, *args, **kwargs)
Define the structure of a CloudEndure exception.
CloudEndureHTTPException
CloudEndureHTTPException(self, /, *args, **kwargs)
Define the CloudEndure exception for unauthorized content.
CloudEndureUnauthorized
CloudEndureUnauthorized(self, /, *args, **kwargs)
The CloudEndure HTTP exception (401) was encountered for the request due to an unauthenticated request.
CloudEndureForbidden
CloudEndureForbidden(self, /, *args, **kwargs)
The CloudEndure HTTP exception (403) was encountered because the current user is not allowed access.
CloudEndureNotFound
CloudEndureNotFound(self, /, *args, **kwargs)
The CloudEndure HTTP exception (404) was encountered for the request due to the object not being found.
CloudEndureMethodNotAllowed
CloudEndureMethodNotAllowed(self, /, *args, **kwargs)
The CloudEndure HTTP exception (405) raised when using a method that is not supported.
For example: (POST instead of GET).
CloudEndureUnprocessableEntity
CloudEndureUnprocessableEntity(self, /, *args, **kwargs)
The CloudEndure HTTP exception (422) was encountered due to invalid input.
CloudEndureInvalidEvent
CloudEndureInvalidEvent(self, /, *args, **kwargs)
The CloudEndure exception for invalid Event types.
CloudEndureMisconfigured
CloudEndureMisconfigured(self, /, *args, **kwargs)
The CloudEndure exception indicating the CLI/Module hasn't been configured properly.