Enum parity_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(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.
Native(String)Native module error.
Trap(String)Trap.
User(Box<UserError>)Custom user error.
Trait Implementations
impl Debug for Error[src]
impl Into<String> for Error[src]
impl Display for Error[src]
fn fmt(&self, f: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl Error for Error[src]
fn description(&self) -> &str[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>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]
U: UserError + Sized,