Expand description
Error types and handling.
Structs§
- Check
Success Options - Options for customizing the behavior of
check_success. - Error
- An error encountered when communicating with the service.
- Error
Detail - Details about an error returned from a service.
- Error
Response - An HTTP error response.
- Inner
Error - Inner error information about an error returned from a service.
Enums§
- Error
Kind - The kind of error.
Traits§
- Response
- Represents a response from which we can get a
StatusCodeand collect into aRawResponse. - Result
Ext - An extension to the
Resulttype that easy allows creatingErrorvalues from existing errors.
Functions§
- check_
success - Checks if the response is a success and if not, creates an appropriate error.