Enum wasmedge_types::error::WasmEdgeError
source · pub enum WasmEdgeError {
Show 29 variants
Operation(String),
User(u32),
Core(CoreError),
ImportObjCreate,
ExecutorCreate,
Store(StoreError),
StatisticsCreate,
ModuleCreate,
LoaderCreate,
ConfigCreate,
CompilerCreate,
ValidatorCreate,
Vm(VmError),
Func(FuncError),
FuncTypeCreate,
Mem(MemError),
MemTypeCreate,
Global(GlobalError),
GlobalTypeCreate,
Table(TableError),
TableTypeCreate,
Import(ImportError),
Export(ExportError),
Instance(InstanceError),
FoundNulByte(NulError),
NotFoundNulByte(FromBytesWithNulError),
Utf8(Utf8Error),
FromUtf8(FromUtf8Error),
WindowsPathConversion(String),
}
Expand description
The error types used by both wasmedge-sys and wasmedge crates.
Variants§
Operation(String)
User(u32)
Core(CoreError)
Errors raised by WasmEdge Core.
ImportObjCreate
ExecutorCreate
Store(StoreError)
StatisticsCreate
ModuleCreate
LoaderCreate
ConfigCreate
CompilerCreate
ValidatorCreate
Vm(VmError)
Func(FuncError)
FuncTypeCreate
Mem(MemError)
MemTypeCreate
Global(GlobalError)
GlobalTypeCreate
Table(TableError)
TableTypeCreate
Import(ImportError)
Export(ExportError)
Instance(InstanceError)
FoundNulByte(NulError)
NotFoundNulByte(FromBytesWithNulError)
Utf8(Utf8Error)
FromUtf8(FromUtf8Error)
WindowsPathConversion(String)
Trait Implementations§
source§impl Clone for WasmEdgeError
impl Clone for WasmEdgeError
source§fn clone(&self) -> WasmEdgeError
fn clone(&self) -> WasmEdgeError
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 WasmEdgeError
impl Debug for WasmEdgeError
source§impl Display for WasmEdgeError
impl Display for WasmEdgeError
source§impl Error for WasmEdgeError
impl Error for WasmEdgeError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 From<FromBytesWithNulError> for WasmEdgeError
impl From<FromBytesWithNulError> for WasmEdgeError
source§fn from(source: FromBytesWithNulError) -> Self
fn from(source: FromBytesWithNulError) -> Self
Converts to this type from the input type.
source§impl From<FromUtf8Error> for WasmEdgeError
impl From<FromUtf8Error> for WasmEdgeError
source§fn from(source: FromUtf8Error) -> Self
fn from(source: FromUtf8Error) -> Self
Converts to this type from the input type.
source§impl From<NulError> for WasmEdgeError
impl From<NulError> for WasmEdgeError
source§impl From<Utf8Error> for WasmEdgeError
impl From<Utf8Error> for WasmEdgeError
source§impl PartialEq<WasmEdgeError> for WasmEdgeError
impl PartialEq<WasmEdgeError> for WasmEdgeError
source§fn eq(&self, other: &WasmEdgeError) -> bool
fn eq(&self, other: &WasmEdgeError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.