pub enum ErrorKind {
Show 17 variants Msg(String), Import(ImportErrorKind), Queue(QueueErrorKind), Io(IoError), StdIo(Error), Trie(TrieError), Execution(ExecutionError), Block(BlockError), Transaction(TransactionError), Snappy(InvalidInput), Engine(EngineError), Ethkey(EthkeyError), Decoder(DecoderError), Snapshot(SnapshotError), PowHashInvalid, PowInvalid, UnknownEngineName(String), // some variants omitted
}
Expand description

The kind of an error.

Variants

Msg(String)

A convenient variant for String.

Import(ImportErrorKind)

Error concerning block import.

Queue(QueueErrorKind)

Io channel queue error

Io(IoError)

Io create error

StdIo(Error)

Error concerning the Rust standard library’s IO subsystem.

Trie(TrieError)

Error concerning TrieDBs.

Execution(ExecutionError)

Error concerning EVM code execution.

Block(BlockError)

Error concerning block processing.

Transaction(TransactionError)

Error concerning transaction processing.

Snappy(InvalidInput)

Snappy error.

Engine(EngineError)

Consensus vote error.

Ethkey(EthkeyError)

Ethkey error.

Decoder(DecoderError)

RLP decoding errors

Snapshot(SnapshotError)

Snapshot error.

PowHashInvalid

PoW hash is invalid or out of date.

PowInvalid

The value of the nonce or mishash is invalid.

UnknownEngineName(String)

Unknown engine given

Implementations

A string describing the error kind.

Trait Implementations

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

Performs the conversion.

Performs the conversion.

Performs the conversion.

Error concerning block import.

Performs the conversion.

Io channel queue error

Performs the conversion.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.