Enum evm::errors::OnChainError [] [src]

pub enum OnChainError {
    StackOverflow,
    StackUnderflow,
    InvalidOpcode,
    BadJumpDest,
    PCOverflow,
    EmptyGas,
    InvalidRange,
}

Variants

Stack is overflowed (pushed more than 1024 items to the stack).

Stack is underflowed (poped an empty stack).

The opcode is invalid and the PC is not able to convert it to an instruction.

PC jumped to an invalid jump destination.

PC overflowed (tries to read the next opcode which is already the end of the code). In Yellow Paper, this is categorized the same as InvalidOpcode.

Not enough gas to continue.

For instruction that requires reading a range, it is invalid. This in the Yellow Paper is covered by EmptyGas.

Trait Implementations

impl Debug for OnChainError
[src]

[src]

Formats the value using the given formatter.

impl Clone for OnChainError
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more