Wasmtime
error.h
Go to the documentation of this file.
1
7#ifndef WASMTIME_ERROR_H
8#define WASMTIME_ERROR_H
9
10#include <wasm.h>
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15
32
36WASM_API_EXTERN void wasmtime_error_delete(wasmtime_error_t *error);
37
46WASM_API_EXTERN void wasmtime_error_message(
47 const wasmtime_error_t *error,
48 wasm_name_t *message
49);
50
51#ifdef __cplusplus
52} // extern "C"
53#endif
54
55#endif // WASMTIME_ERROR_H
void wasmtime_error_message(const wasmtime_error_t *error, wasm_name_t *message)
Returns the string description of this error.
void wasmtime_error_delete(wasmtime_error_t *error)
Deletes an error.
A list of bytes.
Definition: wasm.h:96
Errors generated by Wasmtime.