Enum sputnikvm::errors::PCError [] [src]

pub enum PCError {
    InvalidOpcode,
    IndexNotSupported,
    BadJumpDest,
    Overflow,
}

Errors returned by an EVM PC.

Variants

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

The index is too large for the implementation of the VM to handle.

PC jumped to an invalid jump destination.

PC overflowed (tries to read the next opcode which is already the end of the code).

Trait Implementations

impl Debug for PCError
[src]

[src]

Formats the value using the given formatter.

impl Clone for PCError
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more