Struct ethcore::error::Error []

pub struct Error(pub ErrorKind, _);

The Error type.

This tuple struct is made of two elements:

Methods

impl Error

Constructs an error from a kind, and generates a backtrace.

Constructs a chained error from another error and a kind, and generates a backtrace.

Construct a chained error from another boxed error and a kind, and generates a backtrace

Returns the kind of the error.

Important traits for Iter<'a>

Iterates over the error chain.

Returns the backtrace associated with this error.

Extends the error chain with a new entry.

Methods from Deref<Target = ErrorKind>

A string describing the error kind.

Trait Implementations

impl From<Error> for BlockImportError
[src]

Performs the conversion.

impl From<Error> for TransactionImportError
[src]

Performs the conversion.

impl Debug for Error

Formats the value using the given formatter. Read more

impl ChainedError for Error

Associated kind type.

Constructs an error from a kind, and generates a backtrace.

Constructs a chained error from another error and a kind, and generates a backtrace.

Returns the kind of the error.

Important traits for Iter<'a>

Iterates over the error chain.

Extends the error chain with a new entry.

Returns the backtrace associated with this error.

Returns an object which implements Display for printing the full context of this error. Read more

impl Error for Error

A short description of the error. Read more

The lower-level cause of this error, if any. Read more

impl Display for Error

Formats the value using the given formatter. Read more

impl From<Error> for Error

Database error.

Performs the conversion.

impl From<UtilError> for Error

Error concerning a utility

Performs the conversion.

impl From<ImportError> for Error

Error concerning block import.

Performs the conversion.

impl From<IoError> for Error

Io create error

Performs the conversion.

impl From<Error> for Error

Error concerning the Rust standard library's IO subsystem.

Performs the conversion.

impl From<TrieError> for Error

Error concerning TrieDBs.

Performs the conversion.

impl From<ExecutionError> for Error

Error concerning EVM code execution.

Performs the conversion.

impl From<BlockError> for Error

Error concerning block processing.

Performs the conversion.

impl From<TransactionError> for Error

Error concerning transaction processing.

Performs the conversion.

impl From<InvalidInput> for Error

Snappy error.

Performs the conversion.

impl From<EngineError> for Error

Consensus vote error.

Performs the conversion.

impl From<EthkeyError> for Error

Ethkey error.

Performs the conversion.

impl From<ErrorKind> for Error

Performs the conversion.

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

Performs the conversion.

impl From<String> for Error

Performs the conversion.

impl Deref for Error

The resulting type after dereferencing.

Dereferences the value.

impl From<Error> for ErrorKind

Performs the conversion.

impl From<ClientError> for Error
[src]

Performs the conversion.

impl From<AccountsError> for Error
[src]

Performs the conversion.

impl From<DecoderError> for Error
[src]

Performs the conversion.

impl From<BlockImportError> for Error
[src]

Performs the conversion.

impl From<SnapshotError> for Error
[src]

Performs the conversion.

impl<E> From<Box<E>> for Error where
    Error: From<E>, 
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Error

impl !Sync for Error