Enum ethers_core::utils::ConversionError
source · pub enum ConversionError {
UnrecognizedUnits(String),
TextTooLong,
Utf8Error(Utf8Error),
InvalidFloat(ParseFloatError),
FromDecStrError(FromDecStrErr),
ParseOverflow,
ParseI256Error(ParseI256Error),
}
Variants§
UnrecognizedUnits(String)
TextTooLong
Utf8Error(Utf8Error)
InvalidFloat(ParseFloatError)
FromDecStrError(FromDecStrErr)
ParseOverflow
ParseI256Error(ParseI256Error)
Trait Implementations§
source§impl Debug for ConversionError
impl Debug for ConversionError
source§impl Display for ConversionError
impl Display for ConversionError
source§impl Error for ConversionError
impl Error for ConversionError
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 ConversionError
impl From<FromDecStrErr> for ConversionError
source§fn from(source: FromDecStrErr) -> Self
fn from(source: FromDecStrErr) -> Self
Converts to this type from the input type.
source§impl From<ParseFloatError> for ConversionError
impl From<ParseFloatError> for ConversionError
source§fn from(source: ParseFloatError) -> Self
fn from(source: ParseFloatError) -> Self
Converts to this type from the input type.
source§impl From<ParseI256Error> for ConversionError
impl From<ParseI256Error> for ConversionError
source§fn from(source: ParseI256Error) -> Self
fn from(source: ParseI256Error) -> Self
Converts to this type from the input type.