[go: up one dir, main page]

Module error

Module error 

Source
Expand description

Error types and handling.

Structs§

CheckSuccessOptions
Options for customizing the behavior of check_success.
Error
An error encountered when communicating with the service.
ErrorDetail
Details about an error returned from a service.
ErrorResponse
An HTTP error response.
InnerError
Inner error information about an error returned from a service.

Enums§

ErrorKind
The kind of error.

Traits§

Response
Represents a response from which we can get a StatusCode and collect into a RawResponse.
ResultExt
An extension to the Result type that easy allows creating Error values from existing errors.

Functions§

check_success
Checks if the response is a success and if not, creates an appropriate error.

Type Aliases§

Result
A convenience alias for Result where the error type is hard coded to Error.