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
sourceimpl Error for Error
impl Error for Error
sourcefn 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 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl From<Error> for ParseError
impl From<Error> for ParseError
sourceimpl From<FromDecStrErr> for Error
impl From<FromDecStrErr> for Error
sourcefn from(err: FromDecStrErr) -> Error
fn from(err: FromDecStrErr) -> Error
Converts to this type from the input type.
sourceimpl From<FromHexError> for Error
impl From<FromHexError> for Error
sourcefn from(source: FromHexError) -> Error
fn from(source: FromHexError) -> Error
Converts to this type from the input type.
sourceimpl From<ParseIntError> for Error
impl From<ParseIntError> for Error
sourcefn from(source: ParseIntError) -> Error
fn from(source: ParseIntError) -> Error
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more