Enum sputnikvm::errors::OnChainError
[−]
[src]
pub enum OnChainError { StackOverflow, StackUnderflow, InvalidOpcode, BadJumpDest, PCOverflow, EmptyGas, InvalidRange, }
Variants
StackOverflow
Stack is overflowed (pushed more than 1024 items to the stack).
StackUnderflow
Stack is underflowed (poped an empty stack).
InvalidOpcode
The opcode is invalid and the PC is not able to convert it to an instruction.
BadJumpDest
PC jumped to an invalid jump destination.
PCOverflow
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.
EmptyGas
Not enough gas to continue.
InvalidRange
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]
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