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 <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Darshan Sen <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
Reviewed-By: Akhil Marsonya <[email protected]>
Reviewed-By: Mestery <[email protected]>
  • Loading branch information
LiviaMedeiros authored and danielleadams committed Jun 27, 2022
1 parent 8aec4ba commit 73c0141
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 73c0141

Please sign in to comment.