MCPcopy Create free account
hub / github.com/WiseLibs/better-sqlite3 / ThrowRangeError

Function ThrowRangeError

src/util/helpers.cpp:84–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82 return env.Undefined();
83}
84Napi::Value ThrowRangeError(Napi::Env env, const char* message) {
85 Napi::RangeError::New(env, message).ThrowAsJavaScriptException();
86 return env.Undefined();
87}
88
89// Unwraps a native-backed object into its associated C++ instance. This must
90// only be used on values that are already known to be backed by the given

Callers 2

NODE_METHODFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected