Module wasmer_runtime_core_x::error
source · Expand description
The error module contains the data structures and helper functions used to implement errors that are produced and returned from the wasmer runtime core.
Enums§
- This error type is produced by calling a wasm function exported from a module.
- This is returned when the chosen compiler is unable to successfully compile the provided WebAssembly module into a
Module
. - This error type is produced when creating something, like a
Memory
or aTable
. - The amalgamation of all errors that can occur during the compilation, instantiation, or execution of a WebAssembly module.
- An error occurred while growing a memory or table.
- An error that happened while invoking a Wasm function.
- This is returned when the runtime is unable to correctly link the module with the provided imports.
- Error occured while creating memory.
- Error protecting memory.
- A kind of page error.
- Parse Error.
- This error type is produced by resolving a wasm function given its name.
- A
RuntimeError
is an error that describes why the attempt to fully execute some Wasm has failed.
Type Aliases§
- Result of an attempt to call the provided WebAssembly instance. Aliases the standard
Result
withCallError
as the default error type. - Result of an attempt to compile the provided WebAssembly module into a
Module
. Aliases the standardResult
withCompileError
as the default error type. - Result of an attempt to link the provided WebAssembly instance. Aliases the standard
Result
withVec<LinkError>
as the default error type. - Result of an attempt to parse bytes into a WebAssembly module. Aliases the standard
Result
withParseError
as the default error type. - Result of an attempt to resolve a WebAssembly function by name. Aliases the standard
Result
withResolveError
as the default error type. - Aliases the standard
Result
type asResult
within this module. - Result of an attempt to run the provided WebAssembly instance. Aliases the standard
Result
withRuntimeError
as the default error type.