Enum fuels_types::errors::Error
source · pub enum Error {
Show 16 variants
InvalidData(String),
SerdeJson(Error),
IOError(Error),
InvalidType(String),
ParseIntError(ParseIntError),
ParseBoolError(ParseBoolError),
ParseHexError(FromHexError),
ParseTokenStreamError(String),
Utf8Error(Utf8Error),
CompilationError(String),
InstantiationError(String),
InfrastructureError(String),
WalletError(String),
ProviderError(String),
ValidationError(CheckError),
RevertTransactionError(String, Vec<Receipt>),
}
Variants§
InvalidData(String)
SerdeJson(Error)
IOError(Error)
InvalidType(String)
ParseIntError(ParseIntError)
ParseBoolError(ParseBoolError)
ParseHexError(FromHexError)
ParseTokenStreamError(String)
Utf8Error(Utf8Error)
CompilationError(String)
InstantiationError(String)
InfrastructureError(String)
WalletError(String)
ProviderError(String)
ValidationError(CheckError)
RevertTransactionError(String, Vec<Receipt>)
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<CheckError> for Error
impl From<CheckError> for Error
source§fn from(source: CheckError) -> Self
fn from(source: CheckError) -> Self
Converts to this type from the input type.
source§impl From<CodecError> for Error
impl From<CodecError> for Error
source§fn from(err: CodecError) -> Error
fn from(err: CodecError) -> 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) -> Self
fn from(source: FromHexError) -> Self
Converts to this type from the input type.
source§impl From<ParseBoolError> for Error
impl From<ParseBoolError> for Error
source§fn from(source: ParseBoolError) -> Self
fn from(source: ParseBoolError) -> Self
Converts to this type from the input type.
source§impl From<ParseError> for Error
impl From<ParseError> for Error
source§fn from(err: ParseError) -> Error
fn from(err: ParseError) -> 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) -> Self
fn from(source: ParseIntError) -> Self
Converts to this type from the input type.
source§impl From<TryFromSliceError> for Error
impl From<TryFromSliceError> for Error
source§fn from(err: TryFromSliceError) -> Error
fn from(err: TryFromSliceError) -> Error
Converts to this type from the input type.