restapi.exceptions

Set of Exceptions used to raise HTTP error statuses from endpoints

Exceptions

BadRequest(exception[, is_warning])

param exception:

Conflict(exception[, is_warning])

param exception:

DatabaseDuplicatedEntry(exception[, is_warning])

param exception:

DatabaseMissingRequiredProperty(exception[, ...])

param exception:

Forbidden(exception[, is_warning])

param exception:

NotFound(exception[, is_warning])

param exception:

RestApiException(exception[, status_code, ...])

param exception:

ServerError(exception[, is_warning])

param exception:

ServiceUnavailable(exception[, is_warning])

param exception:

Unauthorized(exception[, is_warning])

param exception: