Enum ethcore::error::ErrorKind []

pub enum ErrorKind {
    Msg(String),
    Database(ErrorKind),
    Util(ErrorKind),
    Import(ImportErrorKind),
    Io(IoError),
    StdIo(Error),
    Trie(TrieError),
    Execution(ExecutionError),
    Block(BlockError),
    Transaction(TransactionError),
    Snappy(InvalidInput),
    Engine(EngineError),
    Ethkey(EthkeyError),
    Client(ClientError),
    Snapshot(SnapshotError),
    AccountProvider(AccountsError),
    PowHashInvalid,
    PowInvalid,
    UnknownEngineName(String),
    Decoder(DecoderError),
    // some variants omitted
}

The kind of an error.

Variants

A convenient variant for String.

Database error.

Error concerning a utility

Error concerning block import.

Io create error

Error concerning the Rust standard library's IO subsystem.

Error concerning TrieDBs.

Error concerning EVM code execution.

Error concerning block processing.

Error concerning transaction processing.

Snappy error.

Consensus vote error.

Ethkey error.

Client configuration error.

Snapshot error.

Account Provider error

PoW hash is invalid or out of date.

The value of the nonce or mishash is invalid.

Unknown engine given

RLP decoding errors

Methods

impl ErrorKind

A string describing the error kind.

Trait Implementations

impl From<ErrorKind> for Error

Performs the conversion.

impl Debug for ErrorKind

Formats the value using the given formatter. Read more

impl Display for ErrorKind

Formats the value using the given formatter. Read more

impl From<ErrorKind> for ErrorKind

Database error.

Performs the conversion.

impl From<ErrorKind> for ErrorKind

Error concerning a utility

Performs the conversion.

impl From<ImportErrorKind> for ErrorKind

Error concerning block import.

Performs the conversion.

impl<'a> From<&'a str> for ErrorKind

Performs the conversion.

impl From<String> for ErrorKind

Performs the conversion.

impl From<Error> for ErrorKind

Performs the conversion.

Auto Trait Implementations

impl Send for ErrorKind

impl !Sync for ErrorKind