Enum ethers::providers::ProviderError [−][src]
pub enum ProviderError {
JsonRpcClientError(Box<dyn Error + Send + Sync + 'static, Global>),
EnsError(String),
SerdeJson(Error),
HexError(FromHexError),
CustomError(String),
UnsupportedRPC,
UnsupportedNodeClient,
SignerUnavailable,
}
Expand description
An error thrown when making a call to the provider
Variants
JsonRpcClientError(Box<dyn Error + Send + Sync + 'static, Global>)
An internal error in the JSON RPC Client
EnsError(String)
Tuple Fields
0: String
An error during ENS name resolution
SerdeJson(Error)
Tuple Fields
0: Error
HexError(FromHexError)
Tuple Fields
0: FromHexError
CustomError(String)
Tuple Fields
0: String
UnsupportedRPC
UnsupportedNodeClient
SignerUnavailable
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
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
pub fn vzip(self) -> V
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