Enum fuel_ethabi::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<FromDecStrErr> for Error
impl From<FromDecStrErr> for Error
source§fn from(err: FromDecStrErr) -> Self
fn from(err: FromDecStrErr) -> Self
Converts to this type from the input type.
source§impl From<FromHexError> for Error
impl From<FromHexError> for Error
source§fn from(source: FromHexError) -> Self
fn from(source: FromHexError) -> Self
Converts to this type from the input type.
source§impl From<ParseIntError> for Error
impl From<ParseIntError> for Error
source§fn from(source: ParseIntError) -> Self
fn from(source: ParseIntError) -> Self
Converts to this type from the input type.