Enum ethers_providers::HttpClientError [−][src]
pub enum HttpClientError {
ReqwestError(ReqwestError),
JsonRpcError(JsonRpcError),
SerdeJson {
err: Error,
text: String,
},
}
Expand description
Error thrown when sending an HTTP request
Variants
ReqwestError(ReqwestError)
Thrown if the request failed
Tuple Fields of ReqwestError
0: ReqwestError
Thrown if the response could not be parsed
Serde JSON Error
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for ClientError
impl Send for ClientError
impl Sync for ClientError
impl Unpin for ClientError
impl !UnwindSafe for ClientError
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more