Enum ethers_contract::MulticallError
source · pub enum MulticallError<M: Middleware> {
ContractError(ContractError<M>),
InvalidChainId(U256),
IllegalRevert,
}
Available on crate feature
abigen
only.Variants§
Trait Implementations§
source§impl<M: Debug + Middleware> Debug for MulticallError<M>
impl<M: Debug + Middleware> Debug for MulticallError<M>
source§impl<M: Middleware> Display for MulticallError<M>where
ContractError<M>: Display,
impl<M: Middleware> Display for MulticallError<M>where
ContractError<M>: Display,
source§impl<M: Middleware> Error for MulticallError<M>where
ContractError<M>: Error,
Self: Debug + Display,
impl<M: Middleware> Error for MulticallError<M>where
ContractError<M>: Error,
Self: Debug + Display,
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl<M: Middleware> From<ContractError<M>> for MulticallError<M>
impl<M: Middleware> From<ContractError<M>> for MulticallError<M>
source§fn from(source: ContractError<M>) -> Self
fn from(source: ContractError<M>) -> Self
Converts to this type from the input type.