pub enum CoreExecutionError {
Show 24 variants
WrongInstanceAddress,
WrongInstanceIndex,
InstrTypeMismatch,
FuncSigMismatch,
DivideByZero,
IntegerOverflow,
InvalidConvToInt,
TableOutOfBounds,
MemoryOutOfBounds,
ArrayOutOfBounds,
Unreachable,
UninitializedElement,
UndefinedElement,
IndirectCallTypeMismatch,
HostFuncFailed,
RefTypeMismatch,
UnalignedAtomicAccess,
ExpectSharedMemory,
CastNullToNonNull,
AccessNullFunc,
AccessNullStruct,
AccessNullArray,
AccessNullI31,
CastFailed,
}
Expand description
The error type for the execution phase from WasmEdge Core.
Variants§
WrongInstanceAddress
WrongInstanceIndex
InstrTypeMismatch
FuncSigMismatch
DivideByZero
IntegerOverflow
InvalidConvToInt
TableOutOfBounds
MemoryOutOfBounds
ArrayOutOfBounds
Unreachable
UninitializedElement
UndefinedElement
IndirectCallTypeMismatch
HostFuncFailed
RefTypeMismatch
UnalignedAtomicAccess
CastNullToNonNull
AccessNullFunc
AccessNullStruct
AccessNullArray
AccessNullI31
CastFailed
Trait Implementations§
Source§impl Clone for CoreExecutionError
impl Clone for CoreExecutionError
Source§fn clone(&self) -> CoreExecutionError
fn clone(&self) -> CoreExecutionError
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CoreExecutionError
impl Debug for CoreExecutionError
Source§impl Display for CoreExecutionError
impl Display for CoreExecutionError
Source§impl Error for CoreExecutionError
impl Error for CoreExecutionError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for CoreExecutionError
impl PartialEq for CoreExecutionError
impl Eq for CoreExecutionError
impl StructuralPartialEq for CoreExecutionError
Auto Trait Implementations§
impl Freeze for CoreExecutionError
impl RefUnwindSafe for CoreExecutionError
impl Send for CoreExecutionError
impl Sync for CoreExecutionError
impl Unpin for CoreExecutionError
impl UnwindSafe for CoreExecutionError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more