[−][src]Enum wasmer_runtime_core_fl::error::RuntimeError
A RuntimeError
is an error that describes why the attempt to fully execute
some Wasm has failed.
These reasons vary from the Wasm trapping or otherwise failing directly to user controlled conditions such as metering running out of gas or a user host function returning a custom error type directly.
Variants
InvokeError(InvokeError)
An error relating to the invocation of a Wasm function.
A metering triggered error value.
An error of this type indicates that it was returned by the metering system.
A frozen state of Wasm used to pause and resume execution. Not strictly an
"error", but this happens while executing and therefore is a RuntimeError
from the persective of the caller that expected the code to fully execute.
A user triggered error value.
An error returned from a host function.
Trait Implementations
impl Debug for RuntimeError
[src]
impl Display for RuntimeError
[src]
impl Error for RuntimeError
[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]
impl From<RuntimeError> for Error
[src]
fn from(runtime_err: RuntimeError) -> Self
[src]
impl From<RuntimeError> for CallError
[src]
fn from(runtime_err: RuntimeError) -> Self
[src]
impl PartialEq<RuntimeError> for RuntimeError
[src]
Auto Trait Implementations
impl !RefUnwindSafe for RuntimeError
impl Send for RuntimeError
impl !Sync for RuntimeError
impl Unpin for RuntimeError
impl !UnwindSafe for RuntimeError
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>,