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(String)Program-level error.
Validation(String)Validation error.
Initialization(String)Initialization error.
Function(String)Function-level error.
Table(String)Table-level error.
Memory(String)Memory-level error.
Variable(String)Variable-level error.
Global(String)Global-level error.
Local(String)Local-level error.
Stack(String)Stack-level error.
Value(String)Value-level error.
Interpreter(String)Interpreter (code) error.
Env(String)Env module error.
Native(String)Native module error.
Trap(String)Trap.
User(E)Custom user error.
Trait Implementations
impl<E: Debug> Debug for Error<E> where
E: UserError, [src]
E: UserError,
impl<E: Clone> Clone for Error<E> where
E: UserError, [src]
E: UserError,
fn clone(&self) -> Error<E>[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl<E: PartialEq> PartialEq for Error<E> where
E: UserError, [src]
E: UserError,
fn eq(&self, __arg_0: &Error<E>) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Error<E>) -> bool[src]
This method tests for !=.
impl<E> Into<String> for Error<E> where
E: UserError, [src]
E: UserError,
impl<E> Display for Error<E> where
E: UserError, [src]
E: UserError,
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>[src]
Formats the value using the given formatter. Read more
impl<U> From<U> for Error<U> where
U: UserError + Sized, [src]
U: UserError + Sized,