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)
Thrown when the internal call to the signer fails
Tuple Fields of SignerError
0: S::Error
MiddlewareError(M::Error)
Thrown when an internal middleware errors
Tuple Fields of MiddlewareError
0: M::Error
Thrown if the nonce
field is missing
Thrown if the gas_price
field is missing
Thrown if the gas
field is missing
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
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