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.
Enums§
- Cache
Error - Kinds of caching errors
- Call
Error - This error type is produced by calling a wasm function exported from a module.
- Compile
Error - This is returned when the chosen compiler is unable to
successfully compile the provided WebAssembly module into
a
Module. - Creation
Error - This error type is produced when creating something,
like a
Memoryor aTable. - Error
- The amalgamation of all errors that can occur during the compilation, instantiation, or execution of a WebAssembly module.
- Grow
Error - An error occurred while growing a memory or table.
- Invoke
Error - An error that happened while invoking a Wasm function.
- Link
Error - This is returned when the runtime is unable to correctly link the module with the provided imports.
- Memory
Creation Error - Error occured while creating memory.
- Memory
Protection Error - Error protecting memory.
- Page
Error - A kind of page error.
- Parse
Error - Parse Error.
- Resolve
Error - This error type is produced by resolving a wasm function given its name.
- Runtime
Error - A
RuntimeErroris an error that describes why the attempt to fully execute some Wasm has failed.
Type Aliases§
- Call
Result - Result of an attempt to call the provided WebAssembly instance.
Aliases the standard
ResultwithCallErroras the default error type. - Compile
Result - Result of an attempt to compile the provided WebAssembly module into a
Module. Aliases the standardResultwithCompileErroras the default error type. - Link
Result - Result of an attempt to link the provided WebAssembly instance.
Aliases the standard
ResultwithVec<LinkError>as the default error type. - Parse
Result - Result of an attempt to parse bytes into a WebAssembly module.
Aliases the standard
ResultwithParseErroras the default error type. - Resolve
Result - Result of an attempt to resolve a WebAssembly function by name.
Aliases the standard
ResultwithResolveErroras the default error type. - Result
- Aliases the standard
Resulttype asResultwithin this module. - Runtime
Result - Result of an attempt to run the provided WebAssembly instance.
Aliases the standard
ResultwithRuntimeErroras the default error type.