Skip to main content

from_reqwest

Function from_reqwest 

Source
pub fn from_reqwest(err: Error) -> Error
Expand description

Wrap a reqwest transport error as Error::Instance, retaining its source.

HTTP status failures are handled separately to preserve response headers and bodies.