Module http_problem::http
source · [−]Expand description
HTTP related well-known errors.
Structs
A 400 - Bad Request
error.
A 409 - Conflict
error.
A 403 - Forbidden
HTTP error.
A 500 - Internal Server Error
error.
A 404 - Not Found
error.
A 419 - Precondition Failed
error.
A 503 - Service Unavailable
error.
A 401 - Unauthorized
HTTP error.
A 422 - Unprocessable Entity
error.
Functions
Create a Problem
instance with a BadRequest
cause.
Create a Problem
instance with a PreconditionFailed
cause.
Create a Problem
instance with no available cause.
Create a Problem
instance with a ServiceUnavailable
cause.
Create a Problem
instance with an Unauthorized
cause.
Create a Problem
instance with an UnprocessableEntity
cause.