Enum ethers_core::abi::Error
source · pub enum Error {
InvalidName(String),
InvalidData,
SerdeJson(Error),
ParseInt(ParseIntError),
Hex(FromHexError),
Other(Cow<'static, str>),
}
Expand description
Ethabi errors
Variants§
InvalidName(String)
Invalid entity such as a bad function name.
InvalidData
Invalid data.
SerdeJson(Error)
Serialization error.
ParseInt(ParseIntError)
Integer parsing error.
Hex(FromHexError)
Hex string parsing error.
Other(Cow<'static, str>)
Other errors.
Trait Implementations§
source§impl Error for Error
impl Error for Error
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<Error> for ParseError
impl From<Error> for ParseError
source§impl From<FromDecStrErr> for Error
impl From<FromDecStrErr> for Error
source§fn from(err: FromDecStrErr) -> Error
fn from(err: FromDecStrErr) -> Error
Converts to this type from the input type.
source§impl From<FromHexError> for Error
impl From<FromHexError> for Error
source§fn from(source: FromHexError) -> Error
fn from(source: FromHexError) -> Error
Converts to this type from the input type.
source§impl From<ParseIntError> for Error
impl From<ParseIntError> for Error
source§fn from(source: ParseIntError) -> Error
fn from(source: ParseIntError) -> Error
Converts to this type from the input type.