Enum sputnikvm::errors::MachineError
[−]
[src]
pub enum MachineError { Memory(MemoryError), Stack(StackError), PC(PCError), InvalidRange, EmptyGas, }
Errors returned by the a single machine of the VM.
Variants
Memory(MemoryError)
VM memory error.
Stack(StackError)
VM stack error.
PC(PCError)
VM PC error.
InvalidRange
For instruction that requires reading a range, it is invalid.
EmptyGas
Not enough gas to continue.
Trait Implementations
impl From<MemoryError> for MachineError
[src]
fn from(val: MemoryError) -> MachineError
[src]
Performs the conversion.
impl Debug for MachineError
[src]
impl Clone for MachineError
[src]
fn clone(&self) -> MachineError
[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