Enum ethers_providers::ProviderError [−][src]
pub enum ProviderError {
JsonRpcClientError(Box<dyn Error + Send + Sync>),
EnsError(String),
SerdeJson(Error),
HexError(FromHexError),
CustomError(String),
UnsupportedRPC,
UnsupportedNodeClient,
SignerUnavailable,
}
Expand description
An error thrown when making a call to the provider
Variants
An internal error in the JSON RPC Client
EnsError(String)
An error during ENS name resolution
Tuple Fields of EnsError
0: String
SerdeJson(Error)
Tuple Fields of SerdeJson
0: Error
HexError(FromHexError)
Tuple Fields of HexError
0: FromHexError
CustomError(String)
Tuple Fields of CustomError
0: String
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for ProviderError
impl Send for ProviderError
impl Sync for ProviderError
impl Unpin for ProviderError
impl !UnwindSafe for ProviderError
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