MCPcopy Create free account
hub / github.com/callstackincubator/polygen / TrapError

Method TrapError

packages/polygen/cpp/ReactNativePolygen/bridge.cpp:11–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9namespace callstack::polygen {
10
11TrapError::TrapError(wasm_rt_trap_t type): std::runtime_error(wasm_rt_strerror(type)), type(type) {}
12
13void polygen_trap_handler(wasm_rt_trap_t trap) {
14 throw TrapError(trap);

Callers

nothing calls this directly

Calls 1

wasm_rt_strerrorFunction · 0.50

Tested by

no test coverage detected