| 161 | } |
| 162 | |
| 163 | void ThrowSyntaxErrorCtor(const CallbackInfo& info) { |
| 164 | Napi::Value js_range_err = info[0]; |
| 165 | ReleaseAndWaitForChildProcess(info, 1); |
| 166 | throw Napi::SyntaxError(info.Env(), js_range_err); |
| 167 | } |
| 168 | |
| 169 | void ThrowSyntaxError(const CallbackInfo& info) { |
| 170 | std::string message = info[0].As<String>().Utf8Value(); |
nothing calls this directly
no test coverage detected