Enum ethers_core::abi::AbiError
source · pub enum AbiError {
DecodingError(Error),
DetokenizationError(InvalidOutputType),
WrongSelector,
ParseBytesError(ParseBytesError),
}
Expand description
ABI codec related errors
Variants§
DecodingError(Error)
Thrown when the ABI decoding fails
DetokenizationError(InvalidOutputType)
Thrown when detokenizing an argument
WrongSelector
ParseBytesError(ParseBytesError)
Trait Implementations§
source§impl Error for AbiError
impl Error for AbiError
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 From<InvalidOutputType> for AbiError
impl From<InvalidOutputType> for AbiError
source§fn from(source: InvalidOutputType) -> Self
fn from(source: InvalidOutputType) -> Self
Converts to this type from the input type.
source§impl From<ParseBytesError> for AbiError
impl From<ParseBytesError> for AbiError
source§fn from(source: ParseBytesError) -> Self
fn from(source: ParseBytesError) -> Self
Converts to this type from the input type.