| 130 | } |
| 131 | |
| 132 | void ThrowRangeErrorCStr(const CallbackInfo& info) { |
| 133 | std::string message = info[0].As<String>().Utf8Value(); |
| 134 | ReleaseAndWaitForChildProcess(info, 1); |
| 135 | throw RangeError::New(info.Env(), message.c_str()); |
| 136 | } |
| 137 | |
| 138 | void ThrowRangeErrorCtor(const CallbackInfo& info) { |
| 139 | Napi::Value js_range_err = info[0]; |
nothing calls this directly
no test coverage detected