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: StringSerdeJson(Error)Tuple Fields of SerdeJson
0: ErrorHexError(FromHexError)Tuple Fields of HexError
0: FromHexErrorCustomError(String)Tuple Fields of CustomError
0: StringTrait 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