Module wasmer_runtime_fl::error[][src]

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

Kinds of caching errors

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 a Table.

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 Definitions

Result of an attempt to call the provided WebAssembly instance. Aliases the standard Result with CallError as the default error type.

Result of an attempt to compile the provided WebAssembly module into a Module. Aliases the standard Result with CompileError as the default error type.

Result of an attempt to link the provided WebAssembly instance. Aliases the standard Result with Vec<LinkError> as the default error type.

Result of an attempt to parse bytes into a WebAssembly module. Aliases the standard Result with ParseError as the default error type.

Result of an attempt to resolve a WebAssembly function by name. Aliases the standard Result with ResolveError as the default error type.

Aliases the standard Result type as Result within this module.

Result of an attempt to run the provided WebAssembly instance. Aliases the standard Result with RuntimeError as the default error type.