Enum ethcore_transaction::Error[][src]

pub enum Error {
    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,
    InvalidChainId,
    NotAllowed,
    InvalidSignature(String),
    TooBig,
    InvalidRlp(String),
}

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 of InsufficientGasPrice

Minimal expected gas price

Transaction gas price

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

Fields of InsufficientGas

Minimal expected gas

Transaction gas

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

Fields of InsufficientBalance

Senders balance

Transaction cost

Transactions gas is higher then current gas limit

Fields of GasLimitExceeded

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 chain ID given.

Not enough permissions given by permission contract.

Signature error

Transaction too big

Invalid RLP encoding

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter. Read more

impl PartialEq for Error
[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 Error
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl From<Error> for Error
[src]

Performs the conversion.

impl From<DecoderError> for Error
[src]

Performs the conversion.

impl Display for Error
[src]

Formats the value using the given formatter. Read more

impl Error for Error
[src]

This method is soft-deprecated. Read more

The lower-level cause of this error, if any. Read more

Auto Trait Implementations

impl Send for Error

impl Sync for Error