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: nodejs/node#42987
Reviewed-By: Jiawen Geng <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
Reviewed-By: Darshan Sen <[email protected]>
Reviewed-By: Chengzhong Wu <[email protected]>
Reviewed-By: Michael Dawson <[email protected]>
  • Loading branch information
NickNaso authored and guangwong committed Oct 10, 2022
1 parent bceb9a8 commit 5a5eb05
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 5a5eb05

Please sign in to comment.