MCPcopy Create free account
hub / github.com/WasmEdge/WasmEdge / newException

Method newException

include/runtime/instance/module.h:287–292  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

285 }
286 template <typename... Args>
287 ExceptionInstance *newException(Args &&...Values) {
288 std::unique_lock Lock(Mutex);
289 OwnedExceptionInsts.push_back(
290 std::make_unique<ExceptionInstance>(std::forward<Args>(Values)...));
291 return OwnedExceptionInsts.back().get();
292 }
293
294 /// Import instances into this module instance.
295 void importFunction(FunctionInstance *Func) {

Callers 1

throwExceptionMethod · 0.80

Calls 2

backMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected