Enum diem_management::error::Error
source · pub enum Error {
Show 20 variants
BackendInvalidKeyValue(String),
BackendMissingBackendKey,
BackendParsingError(String),
CommandArgumentError(String),
ConfigError(String),
IO(String, Error),
BCS(String, Error),
JsonRpcReadError(&'static str, String),
JsonRpcWriteError(&'static str, String),
NetworkAddressDecodeError(String),
StorageUnavailable(&'static str, String),
StorageReadError(&'static str, &'static str, String),
StorageSigningError(&'static str, &'static str, &'static str, String),
StorageWriteError(&'static str, &'static str, String),
Timeout(&'static str, String),
UnableToParse(&'static str, String),
UnableToParseFile(String, String),
UnableToReadFile(String, String),
UnexpectedCommand(String, String),
UnexpectedError(String),
}
Variants§
BackendInvalidKeyValue(String)
BackendMissingBackendKey
BackendParsingError(String)
CommandArgumentError(String)
ConfigError(String)
IO(String, Error)
BCS(String, Error)
JsonRpcReadError(&'static str, String)
JsonRpcWriteError(&'static str, String)
NetworkAddressDecodeError(String)
StorageReadError(&'static str, &'static str, String)
StorageSigningError(&'static str, &'static str, &'static str, String)
StorageWriteError(&'static str, &'static str, String)
Timeout(&'static str, String)
UnableToParse(&'static str, String)
UnableToParseFile(String, String)
UnableToReadFile(String, String)
UnexpectedCommand(String, String)
UnexpectedError(String)
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()