Enum parity_wasm::interpreter::Error [] [src]

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

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.

Env module error.

Native module error.

Trap.

Custom user error.

Trait Implementations

impl<E: Debug> Debug for Error<E> where
    E: UserError
[src]

[src]

Formats the value using the given formatter.

impl<E: Clone> Clone for Error<E> where
    E: UserError
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<E: PartialEq> PartialEq for Error<E> where
    E: UserError
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl<E> Into<String> for Error<E> where
    E: UserError
[src]

[src]

Performs the conversion.

impl<E> Display for Error<E> where
    E: UserError
[src]

[src]

Formats the value using the given formatter. Read more

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

[src]

Performs the conversion.