Enum ethcore::error::Error
[−]
[src]
pub enum Error { Client(ClientError), Util(UtilError), Block(BlockError), UnknownEngineName(String), Execution(ExecutionError), Transaction(TransactionError), Import(ImportError), PowHashInvalid, PowInvalid, Trie(TrieError), Io(IoError), StdIo(Error), Snappy(InvalidInput), Snapshot(SnapshotError), Engine(EngineError), Ethkey(EthkeyError), AccountProvider(AccountsError), }
General error type which should be capable of representing all errors in ethcore.
Variants
Client(ClientError)
Client configuration error.
Util(UtilError)
Error concerning a utility.
Block(BlockError)
Error concerning block processing.
UnknownEngineName(String)
Unknown engine given.
Execution(ExecutionError)
Error concerning EVM code execution.
Transaction(TransactionError)
Error concerning transaction processing.
Import(ImportError)
Error concerning block import.
PowHashInvalid
PoW hash is invalid or out of date.
PowInvalid
The value of the nonce or mishash is invalid.
Trie(TrieError)
Error concerning TrieDBs
Io(IoError)
Io crate error.
StdIo(Error)
Standard io error.
Snappy(InvalidInput)
Snappy error.
Snapshot(SnapshotError)
Snapshot error.
Engine(EngineError)
Consensus vote error.
Ethkey(EthkeyError)
Ethkey error.
AccountProvider(AccountsError)
Account Provider error.
Trait Implementations
impl Debug for Error
[src]
impl Display for Error
[src]
impl From<ClientError> for Error
[src]
fn from(err: ClientError) -> Error
Performs the conversion.
impl From<TransactionError> for Error
[src]
fn from(err: TransactionError) -> Error
Performs the conversion.
impl From<ImportError> for Error
[src]
fn from(err: ImportError) -> Error
Performs the conversion.
impl From<BlockError> for Error
[src]
fn from(err: BlockError) -> Error
Performs the conversion.
impl From<ExecutionError> for Error
[src]
fn from(err: ExecutionError) -> Error
Performs the conversion.
impl From<DecoderError> for Error
[src]
fn from(err: DecoderError) -> Error
Performs the conversion.
impl From<UtilError> for Error
[src]
impl From<IoError> for Error
[src]
impl From<TrieError> for Error
[src]
impl From<Error> for Error
[src]
impl From<BlockImportError> for Error
[src]
fn from(err: BlockImportError) -> Error
Performs the conversion.
impl From<InvalidInput> for Error
[src]
fn from(err: InvalidInput) -> Error
Performs the conversion.
impl From<SnapshotError> for Error
[src]
fn from(err: SnapshotError) -> Error
Performs the conversion.
impl From<EngineError> for Error
[src]
fn from(err: EngineError) -> Error
Performs the conversion.
impl From<EthkeyError> for Error
[src]
fn from(err: EthkeyError) -> Error
Performs the conversion.
impl From<AccountsError> for Error
[src]
fn from(err: AccountsError) -> Error
Performs the conversion.