Enum sophon_wasm::interpreter::Error [] [src]

pub enum Error {
    Program(String),
    Validation(String),
    Initialization(String),
    Function(String),
    Table(String),
    Memory(String),
    Variable(String),
    Global(String),
    Local(String),
    Stack(String),
    Value(String),
    Interpreter(String),
    Native(String),
    Trap(String),
    User(Box<UserError>),
}

Internal interpreter error.

Variants

Program-level error.

Validation error.

Initialization error.

Function-level error.

Table-level error.

Memory-level error.

Variable-level error.

Global-level error.

Local-level error.

Stack-level error.

Value-level error.

Interpreter (code) error.

Native module error.

Trap.

Custom user error.

Trait Implementations

impl Debug for Error
[src]

[src]

Formats the value using the given formatter.

impl Into<String> for Error
[src]

[src]

Performs the conversion.

impl Display for Error
[src]

[src]

Formats the value using the given formatter. Read more

impl Error for Error
[src]

[src]

A short description of the error. Read more

1.0.0
[src]

The lower-level cause of this error, if any. Read more

impl<U> From<U> for Error where
    U: UserError + Sized
[src]

[src]

Performs the conversion.

impl From<Error> for Error
[src]

[src]

Performs the conversion.

impl From<Error> for Error
[src]

[src]

Performs the conversion.