MCPcopy Index your code
hub / github.com/nodejs/node-addon-api / InitErrorHandlingPrim

Function InitErrorHandlingPrim

test/error_handling_for_primitives.cc:9–13  ·  view source on GitHub ↗

namespace

Source from the content-addressed store, hash-verified

7
8} // namespace
9Napi::Object InitErrorHandlingPrim(Napi::Env env) {
10 Napi::Object exports = Napi::Object::New(env);
11 exports.Set("errorHandlingPrim", Napi::Function::New<Test>(env));
12 return exports;
13}

Callers 1

InitFunction · 0.85

Calls 1

SetMethod · 0.80

Tested by

no test coverage detected