Enum ethcore::snapshot::Error [] [src]

pub enum Error {
    InvalidStartingBlock(BlockId),
    BlockNotFound(H256),
    IncompleteChain,
    WrongStateRoot(H256H256),
    WrongBlockHash(u64H256H256),
    TooManyBlocks(u64u64),
    OldBlockPrunedDB,
    MissingCode(Vec<H256>),
    UnrecognizedCodeState(u8),
    RestorationAborted,
    Trie(TrieError),
    Decoder(DecoderError),
    Io(Error),
}

Snapshot-related errors.

Variants

Invalid starting block for snapshot.

Block not found.

Incomplete chain.

Best block has wrong state root.

Wrong block hash.

Too many blocks contained within the snapshot.

Old starting block in a pruned database.

Missing code.

Unrecognized code encoding.

Restoration aborted.

Trie error.

Decoder error.

Io error.

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.

impl Display for Error
[src]

Formats the value using the given formatter.

impl From<Error> for Error
[src]

Performs the conversion.

impl From<TrieError> for Error
[src]

Performs the conversion.

impl From<DecoderError> for Error
[src]

Performs the conversion.

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

Performs the conversion.