Enum ethcore_util::error::UtilError [] [src]

pub enum UtilError {
    StdIo(Error),
    FromHex(FromHexError),
    BaseData(BaseDataError),
    Decoder(DecoderError),
    SimpleString(String),
    BadSize,
    Snappy(InvalidInput),
}

General error type which should be capable of representing all errors in ethcore.

Variants

Error concerning the Rust standard library's IO subsystem.

Error concerning the hex conversion logic.

Error concerning the database abstraction logic.

Error concerning the RLP decoder.

Miscellaneous error described by a string.

Error from a bad input size being given for the needed output.

Error from snappy.

Trait Implementations

impl Debug for UtilError
[src]

Formats the value using the given formatter.

impl Display for UtilError
[src]

Formats the value using the given formatter.

impl From<FromHexError> for UtilError
[src]

Performs the conversion.

impl From<BaseDataError> for UtilError
[src]

Performs the conversion.

impl From<Error> for UtilError
[src]

Performs the conversion.

impl From<DecoderError> for UtilError
[src]

Performs the conversion.

impl From<String> for UtilError
[src]

Performs the conversion.

impl From<InvalidInput> for UtilError
[src]

Performs the conversion.