Enum ethcore::trace_types::error::Error [] [src]

pub enum Error {
    OutOfGas,
    BadJumpDestination,
    BadInstruction,
    StackUnderflow,
    OutOfStack,
    Internal,
}

Trace evm errors.

Variants

OutOfGas is returned when transaction execution runs out of gas.

BadJumpDestination is returned when execution tried to move to position that wasn't marked with JUMPDEST instruction

BadInstructions is returned when given instruction is not supported

StackUnderflow when there is not enough stack elements to execute instruction

When execution would exceed defined Stack Limit

Returned on evm internal error. Should never be ignored during development. Likely to cause consensus issues.

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.

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

Performs the conversion.

impl Display for Error
[src]

Formats the value using the given formatter.

impl Encodable for Error
[src]

Append a value to the stream

Get rlp-encoded bytes for this instance

impl Decodable for Error
[src]

Decode a value from RLP bytes