Enum evm_state::error::Error[][src]

pub enum Error {
    UnrecoverableCaller {
        transaction_hash: H256,
        source: Error,
    },
    NonceNotEqual {
        tx_nonce: U256,
        state_nonce: U256,
    },
    EvmFatal {
        transaction_hash: H256,
        evm_source: ExitFatal,
    },
    AllocationError {
        key: H256,
        size: u64,
        backtrace: Backtrace,
    },
    DataNotFound {
        key: H256,
        backtrace: Backtrace,
    },
    FailedToWrite {
        key: H256,
        offset: u64,
        backtrace: Backtrace,
    },
    OutOfBound {
        key: H256,
        offset: u64,
        size: u64,
        backtrace: Backtrace,
    },
    WrongChainId {
        chain_id: u64,
        tx_chain_id: Option<u64>,
    },
    GasLimitOutOfBounds {
        gas_limit: U256,
    },
    GasUsedOutOfBounds {
        used_gas: U256,
        gas_limit: U256,
    },
    GasPriceOutOfBounds {
        gas_price: U256,
    },
    DuplicateTx {
        tx_hash: H256,
    },
    CantPayTheBills {
        state_balance: U256,
        value: U256,
        max_fee: U256,
    },
}

Variants

UnrecoverableCaller

Fields of UnrecoverableCaller

transaction_hash: H256source: Error
NonceNotEqual

Fields of NonceNotEqual

tx_nonce: U256state_nonce: U256
EvmFatal

Fields of EvmFatal

transaction_hash: H256evm_source: ExitFatal
AllocationError

Fields of AllocationError

key: H256size: u64backtrace: Backtrace
DataNotFound

Fields of DataNotFound

key: H256backtrace: Backtrace
FailedToWrite

Fields of FailedToWrite

key: H256offset: u64backtrace: Backtrace
OutOfBound

Fields of OutOfBound

key: H256offset: u64size: u64backtrace: Backtrace
WrongChainId

Fields of WrongChainId

chain_id: u64tx_chain_id: Option<u64>
GasLimitOutOfBounds

Fields of GasLimitOutOfBounds

gas_limit: U256
GasUsedOutOfBounds

Fields of GasUsedOutOfBounds

used_gas: U256gas_limit: U256
GasPriceOutOfBounds

Fields of GasPriceOutOfBounds

gas_price: U256
DuplicateTx

Fields of DuplicateTx

tx_hash: H256
CantPayTheBills

Fields of CantPayTheBills

state_balance: U256value: U256max_fee: U256

Trait Implementations

impl Debug for Error[src]

impl Display for Error[src]

impl Error for Error where
    Self: Debug + Display
[src]

impl ErrorCompat for Error[src]

Auto Trait Implementations

impl RefUnwindSafe for Error

impl Send for Error

impl Sync for Error

impl Unpin for Error

impl UnwindSafe for Error

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> AsErrorSource for T where
    T: 'static + Error
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> MaybeDebug for T where
    T: Debug
[src]

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]