Expand description
HTTP related well-known errors.
Structs§
- BadRequest
- A
400 - Bad Request
error. - Conflict
- A
409 - Conflict
error. - Forbidden
- A
403 - Forbidden
HTTP error. - Internal
Error - A
500 - Internal Server Error
error. - NotFound
- A
404 - Not Found
error. - Precondition
Failed - A
419 - Precondition Failed
error. - Service
Unavailable - A
503 - Service Unavailable
error. - Unauthorized
- A
401 - Unauthorized
HTTP error. - Unprocessable
Entity - A
422 - Unprocessable Entity
error.
Functions§
- bad_
request - Create a
Problem
instance with aBadRequest
cause. - conflict
- Create a
Problem
instance with aConflict
cause. - failed_
precondition - Create a
Problem
instance with aPreconditionFailed
cause. - forbidden
- Create a
Problem
instance with anForbidden
cause. - internal_
error - Create a
Problem
instance with no available cause. - not_
found - Create a
Problem
instance with aNotFound
cause. - not_
found_ unknown - Create a
Problem
instance with aNotFound
cause with an unknown identifier. - service_
unavailable - Create a
Problem
instance with aServiceUnavailable
cause. - unauthorized
- Create a
Problem
instance with anUnauthorized
cause. - unprocessable
- Create a
Problem
instance with anUnprocessableEntity
cause.