Skip to content

Commit

Permalink
doc: close tag in n-api.md
Browse files Browse the repository at this point in the history
PR-URL: #42751
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Akhil Marsonya <akhil.marsonya27@gmail.com>
Reviewed-By: Mestery <mestery@protonmail.com>
  • Loading branch information
LiviaMedeiros authored and juanarbol committed May 31, 2022
1 parent b5d6dd5 commit 2d8dbe8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doc/api/n-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -1189,6 +1189,7 @@ added: v16.14.0
NAPI_EXTERN napi_status node_api_throw_syntax_error(napi_env env,
const char* code,
const char* msg);
```

* `[in] env`: The environment that the API is invoked under.
* `[in] code`: Optional error code to be set on the error.
Expand Down

0 comments on commit 2d8dbe8

Please sign in to comment.