Enum evm::errors::OnChainError
[−]
[src]
pub enum OnChainError {
StackOverflow,
StackUnderflow,
InvalidOpcode,
BadJumpDest,
PCOverflow,
EmptyGas,
InvalidRange,
}Variants
StackOverflowStack is overflowed (pushed more than 1024 items to the stack).
StackUnderflowStack is underflowed (poped an empty stack).
InvalidOpcodeThe opcode is invalid and the PC is not able to convert it to an instruction.
BadJumpDestPC jumped to an invalid jump destination.
PCOverflowPC 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.
EmptyGasNot enough gas to continue.
InvalidRangeFor 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]
impl Clone for OnChainError[src]
fn clone(&self) -> OnChainError[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more