We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e61337d commit f263340Copy full SHA for f263340
doc/api/n-api.md
@@ -471,9 +471,9 @@ This API returns a JavaScript `TypeError` with the text provided.
471
added: v8.0.0
472
-->
473
```C
474
-NODE_EXTERN napi_status napi_create_range_error(napi_env env,
+NAPI_EXTERN napi_status napi_create_range_error(napi_env env,
475
napi_value code,
476
- const char* msg,
+ napi_value msg,
477
napi_value* result);
478
```
479
- `[in] env`: The environment that the API is invoked under.
0 commit comments