pub type Error = Box<dyn Error + Send + Sync>;Expand description
Any error sending request or receiving response.
§HTTP Error
In functions that return Result<Response, Error> successfully received HTTP errors are not converted to Err. Use
Response::error to get a HttpError if the response represents an error.
In helper functions that convert the response body to a value the HttpError is converted into this type. You
can downcast to get the HTTP error in those cases.
Aliased Type§
pub struct Error(/* private fields */);