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

Function ThrowRangeErrorCtor

test/error.cc:138–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136}
137
138void ThrowRangeErrorCtor(const CallbackInfo& info) {
139 Napi::Value js_range_err = info[0];
140 ReleaseAndWaitForChildProcess(info, 1);
141 throw Napi::RangeError(info.Env(), js_range_err);
142}
143
144void ThrowEmptyRangeError(const CallbackInfo& info) {
145 ReleaseAndWaitForChildProcess(info, 1);

Callers

nothing calls this directly

Calls 4

RangeErrorClass · 0.85
EnvMethod · 0.80

Tested by

no test coverage detected