[−][src]Enum wasmer_runtime_core_fl::error::InvokeError
An error that happened while invoking a Wasm function.
Variants
Indicates an exceptional circumstance such as a bug in Wasmer (please file an issue!) or a hardware failure.
Indicates that a trap occurred that is not known to Wasmer.
Fields of UnknownTrap
A trap that Wasmer knows about occurred.
Fields of TrapCode
code: ExceptionCode
The type of exception.
srcloc: u32
Where in the Wasm file this trap orginated from.
A trap occurred that Wasmer knows about but it had a trap code that we weren't expecting or that we do not handle. This error may be backend-specific.
Fields of UnknownTrapCode
EarlyTrap(Box<RuntimeError>)
An "early trap" occurred. TODO: document this properly
Breakpoint(Box<RuntimeError>)
Indicates that a breakpoint was hit. The inner value is dependent upon the middleware or backend being used.
Trait Implementations
impl Debug for InvokeError
[src]
impl Display for InvokeError
[src]
impl Error for InvokeError
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn description(&self) -> &str
1.0.0[src]
fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl From<InvokeError> for RuntimeError
[src]
fn from(other: InvokeError) -> RuntimeError
[src]
Auto Trait Implementations
impl !RefUnwindSafe for InvokeError
impl Send for InvokeError
impl !Sync for InvokeError
impl Unpin for InvokeError
impl !UnwindSafe for InvokeError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,