Enum ethcore::error::TransactionError [] [src]

pub enum TransactionError {
    AlreadyImported,
    Old,
    TooCheapToReplace,
    LimitReached,
    InsufficientGasPrice {
        minimal: U256,
        got: U256,
    },
    InsufficientGas {
        minimal: U256,
        got: U256,
    },
    InsufficientBalance {
        balance: U256,
        cost: U256,
    },
    GasLimitExceeded {
        limit: U256,
        got: U256,
    },
    InvalidGasLimit(OutOfBounds<U256>),
    SenderBanned,
    RecipientBanned,
    CodeBanned,
    InvalidNetworkId,
}

Errors concerning transaction processing.

Variants

Transaction is already imported to the queue

Transaction is not valid anymore (state already has higher nonce)

Transaction has too low fee (there is already a transaction with the same sender-nonce but higher gas price)

Transaction was not imported to the queue because limit has been reached.

Transaction's gas price is below threshold.

Fields

Minimal expected gas price

Transaction gas price

Transaction's gas is below currently set minimal gas requirement.

Fields

Minimal expected gas

Transaction gas

Sender doesn't have enough funds to pay for this transaction

Fields

Senders balance

Transaction cost

Transactions gas is higher then current gas limit

Fields

Current gas limit

Declared transaction gas

Transaction's gas limit (aka gas) is invalid.

Transaction sender is banned.

Transaction receipient is banned.

Contract creation code is banned.

Invalid network ID given.

Trait Implementations

impl Debug for TransactionError
[src]

Formats the value using the given formatter.

impl PartialEq for TransactionError
[src]

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

This method tests for !=.

impl Clone for TransactionError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for TransactionError
[src]

impl Display for TransactionError
[src]

Formats the value using the given formatter.

impl BinaryConvertable for TransactionError where TransactionError: Copy