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

VM memory error.

VM stack error.

VM PC error.

For instruction that requires reading a range, it is invalid.

Not enough gas to continue.

Trait Implementations

impl From<MemoryError> for MachineError
[src]

[src]

Performs the conversion.

impl Debug for MachineError
[src]

[src]

Formats the value using the given formatter.

impl Clone for MachineError
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more