Skip to content

Commit

Permalink
doc: mark some node-api functions as experimental
Browse files Browse the repository at this point in the history
PR-URL: #42987
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
  • Loading branch information
NickNaso authored and danielleadams committed Jun 27, 2022
1 parent bc2e3bc commit b93f1ea
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions doc/api/n-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -1185,6 +1185,8 @@ This API throws a JavaScript `RangeError` with the text provided.
added: v16.14.0
-->

> Stability: 1 - Experimental

````c
NAPI_EXTERN napi_status node_api_throw_syntax_error(napi_env env,
const char* code,
Expand Down Expand Up @@ -1302,6 +1304,8 @@ This API returns a JavaScript `RangeError` with the text provided.
added: v16.14.0
-->

> Stability: 1 - Experimental

```c
NAPI_EXTERN napi_status node_api_create_syntax_error(napi_env env,
napi_value code,
Expand Down

0 comments on commit b93f1ea

Please sign in to comment.