wasmtime_error_wasm_trace function

  1. @Native<Void Function(Pointer<wasmtime_error_t>, Pointer<wasm_frame_vec_t>)>(ffi.Pointer<wasmtime_error_t>, ffi.Pointer<wasm_frame_vec_t>)>()
void wasmtime_error_wasm_trace(
  1. Pointer<wasmtime_error_t> arg0,
  2. Pointer<wasm_frame_vec_t> out
)

\brief Attempts to extract a WebAssembly trace from this error.

This is similar to #wasm_trap_trace except that it takes a #wasmtime_error_t as input. The out argument will be filled in with the wasm trace, if present.

Implementation

@ffi.Native<
  ffi.Void Function(
    ffi.Pointer<wasmtime_error_t>,
    ffi.Pointer<wasm_frame_vec_t>,
  )
>()
external void wasmtime_error_wasm_trace(
  ffi.Pointer<wasmtime_error_t> arg0,
  ffi.Pointer<wasm_frame_vec_t> out,
);