Skip to content

Commit 1c84d85

Browse files
Trotttargos
authored andcommitted
doc: trim wording in n-api.md text about exceptions
PR-URL: #32457 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Myles Borins <[email protected]>
1 parent bba8dd3 commit 1c84d85

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

doc/api/n-api.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -797,9 +797,8 @@ This API can be called even if there is a pending JavaScript exception.
797797
### Exceptions
798798

799799
Any N-API function call may result in a pending JavaScript exception. This is
800-
obviously the case for any function that may cause the execution of
801-
JavaScript, but N-API specifies that an exception may be pending
802-
on return from any of the API functions.
800+
the case for any of the API functions, even those that may not cause the
801+
execution of JavaScript.
803802

804803
If the `napi_status` returned by a function is `napi_ok` then no
805804
exception is pending and no additional action is required. If the

0 commit comments

Comments
 (0)