MCPcopy Create free account
hub / github.com/WebAssembly/wasm-c-api / wasm_trap_message

Function wasm_trap_message

src/wasm-c.cc:705–707  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

703}
704
705void wasm_trap_message(const wasm_trap_t* trap, wasm_message_t* out) {
706 *out = release_byte_vec(reveal_trap(trap)->message());
707}
708
709wasm_frame_t* wasm_trap_origin(const wasm_trap_t* trap) {
710 return release_frame(reveal_trap(trap)->origin());

Callers 2

mainFunction · 0.85
mainFunction · 0.85

Calls 1

messageMethod · 0.80

Tested by

no test coverage detected