Enum ethcore::executed::ExecutionError [] [src]

pub enum ExecutionError {
    NotEnoughBaseGas {
        required: U256,
        got: U256,
    },
    BlockGasLimitReached {
        gas_limit: U256,
        gas_used: U256,
        gas: U256,
    },
    InvalidNonce {
        expected: U256,
        got: U256,
    },
    NotEnoughCash {
        required: U512,
        got: U512,
    },
    Internal,
    TransactionMalformed(String),
}

Result of executing the transaction.

Variants

Returned when there gas paid for transaction execution is lower than base gas required.

Fields

Absolute minimum gas required.

Gas provided.

Returned when block (gas_used + gas) > gas_limit.

If gas =< gas_limit, upstream may try to execute the transaction in next block.

Fields

Gas limit of block for transaction.

Gas used in block prior to transaction.

Amount of gas in block.

Returned when transaction nonce does not match state nonce.

Fields

Nonce expected.

Nonce found.

Returned when cost of transaction (value + gas_price * gas) exceeds current sender balance.

Fields

Minimum required balance.

Actual balance.

Returned when internal evm error occurs.

Returned when generic transaction occurs

Trait Implementations

impl PartialEq for ExecutionError
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for ExecutionError
[src]

Formats the value using the given formatter.

impl Clone for ExecutionError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Display for ExecutionError
[src]

Formats the value using the given formatter.