Enum dlc_manager::error::Error
source · pub enum Error {
Conversion(Error),
IOError(Error),
InvalidParameters(String),
InvalidState(String),
WalletError(Box<dyn Error>),
BlockchainError,
StorageError(String),
OracleError(String),
DlcError(Error),
SecpError(Error),
}Expand description
An error code.
Variants§
Conversion(Error)
Error that occured while converting from DLC message to internal representation.
IOError(Error)
An IO error.
InvalidParameters(String)
Some invalid parameters were provided.
InvalidState(String)
An invalid state was encounter, likely to indicate a bug.
WalletError(Box<dyn Error>)
An error occurred in the wallet component.
BlockchainError
An error occurred in the blockchain component.
StorageError(String)
The storage component encountered an error.
OracleError(String)
The oracle component encountered an error.
DlcError(Error)
An error occurred in the DLC library.
SecpError(Error)
An error occurred in the Secp library.