Enum wasmi::Error [] [src]

pub enum Error {
    Validation(String),
    Instantiation(String),
    Function(String),
    Table(String),
    Memory(String),
    Global(String),
    Stack(String),
    Value(String),
    Trap(String),
    Host(Box<HostError>),
}

Internal interpreter error.

Variants

Module validation error. Might occur only at load time.

Error while instantiating a module. Might occur when provided with incorrect exports (i.e. linkage failure).

Function-level error.

Table-level error.

Memory-level error.

Global-level error.

Stack-level error.

Value-level error.

Trap.

Custom embedder 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: HostError + 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.