# 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

`StdIo(Error)`

Error concerning the Rust standard library's IO subsystem.

`FromHex(FromHexError)`

Error concerning the hex conversion logic.

`BaseData(BaseDataError)`

Error concerning the database abstraction logic.

`Decoder(DecoderError)`

Error concerning the RLP decoder.

`SimpleString(String)`

Miscellaneous error described by a string.

`BadSize`

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

`Snappy(InvalidInput)`

Error from snappy.

## Trait Implementations

### `impl Debug for UtilError`
[src]

#### `fn fmt(&self, __arg_0: &mut Formatter) -> Result`

Formats the value using the given formatter.

### `impl Display for UtilError`
[src]

#### `fn fmt(&self, f: &mut Formatter) -> Result`

Formats the value using the given formatter.

### `impl From<FromHexError> for UtilError`
[src]

#### `fn from(err: FromHexError) -> UtilError`

Performs the conversion.

### `impl From<BaseDataError> for UtilError`
[src]

#### `fn from(err: BaseDataError) -> UtilError`

Performs the conversion.

### `impl From<Error> for UtilError`
[src]

#### `fn from(err: Error) -> UtilError`

Performs the conversion.

### `impl From<DecoderError> for UtilError`
[src]

#### `fn from(err: DecoderError) -> UtilError`

Performs the conversion.

### `impl From<String> for UtilError`
[src]

#### `fn from(err: String) -> UtilError`

Performs the conversion.

### `impl From<InvalidInput> for UtilError`
[src]

#### `fn from(err: InvalidInput) -> UtilError`

Performs the conversion.

# Help

## Keyboard Shortcuts

?
  Show this help dialog
S
  Focus the search field
⇤
  Move up in search results
⇥
  Move down in search results
⏎
  Go to active search result
+
  Collapse/expand all sections

## Search Tricks

Prefix searches with a type followed by a colon (e.g. `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g. `vec -> usize` or `* -> vec`)