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

pub enum Error {
    InvalidStartingBlock(BlockId),
    BlockNotFound(H256),
    IncompleteChain,
    WrongStateRoot(H256, H256),
    WrongBlockHash(u64, H256, H256),
    TooManyBlocks(u64u64),
    OldBlockPrunedDB,
    MissingCode(Vec<H256>),
    UnrecognizedCodeState(u8),
    RestorationAborted,
    Trie(TrieError),
    Decoder(DecoderError),
    Io(Error),
    VersionNotSupported(u64),
    ChunkTooSmall,
    ChunkTooLarge,
    SnapshotsUnsupported,
    BadEpochProof(u64),
    WrongChunkFormat(String),
}

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.

Snapshot version is not supported.

Max chunk size is to small to fit basic account data.

Oversized chunk

Snapshots not supported by the consensus engine.

Bad epoch transition.

Wrong chunk format.

Trait Implementations

impl From<SnapshotError> for Error
[src]

Performs the conversion.

impl Debug for Error
[src]

Formats the value using the given formatter. Read more

impl Display for Error
[src]

Formats the value using the given formatter. Read more

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.

Auto Trait Implementations

impl Send for Error

impl Sync for Error