Enum ethers_middleware::signer::SignerMiddlewareError [−][src]
pub enum SignerMiddlewareError<M: Middleware, S: Signer> {
SignerError(S::Error),
MiddlewareError(M::Error),
NonceMissing,
GasPriceMissing,
GasMissing,
WrongSigner,
}Expand description
Error thrown when the client interacts with the blockchain
Variants
SignerError(S::Error)
Tuple Fields
0: S::ErrorThrown when the internal call to the signer fails
MiddlewareError(M::Error)
Tuple Fields
0: M::ErrorThrown when an internal middleware errors
NonceMissing
Thrown if the nonce field is missing
GasPriceMissing
Thrown if the gas_price field is missing
GasMissing
Thrown if the gas field is missing
WrongSigner
Thrown if a signature is requested from a different address
Trait Implementations
impl<M: Middleware, S: Signer> Error for SignerMiddlewareError<M, S> where
Self: Debug + Display,
impl<M: Middleware, S: Signer> Error for SignerMiddlewareError<M, S> where
Self: Debug + Display,
impl<M: Middleware, S: Signer> FromErr<<M as Middleware>::Error> for SignerMiddlewareError<M, S>
impl<M: Middleware, S: Signer> FromErr<<M as Middleware>::Error> for SignerMiddlewareError<M, S>
Auto Trait Implementations
impl<M, S> RefUnwindSafe for SignerMiddlewareError<M, S> where
<M as Middleware>::Error: RefUnwindSafe,
<S as Signer>::Error: RefUnwindSafe,
impl<M, S> Send for SignerMiddlewareError<M, S>
impl<M, S> Sync for SignerMiddlewareError<M, S>
impl<M, S> Unpin for SignerMiddlewareError<M, S> where
<M as Middleware>::Error: Unpin,
<S as Signer>::Error: Unpin,
impl<M, S> UnwindSafe for SignerMiddlewareError<M, S> where
<M as Middleware>::Error: UnwindSafe,
<S as Signer>::Error: UnwindSafe,
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