restapi.exceptions

Set of Exceptions used to raise HTTP error statuses from endpoints

Exceptions

BadRequest(exception[, is_warning])

Conflict(exception[, is_warning])

DatabaseDuplicatedEntry(exception[, is_warning])

DatabaseMissingRequiredProperty(exception[, ...])

Forbidden(exception[, is_warning])

NotFound(exception[, is_warning])

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

ServerError(exception[, is_warning])

ServiceUnavailable(exception[, is_warning])

Unauthorized(exception[, is_warning])