Unverified Commit 8dea6dc2 authored by Tobias Nießen's avatar Tobias Nießen Committed by Anna Henningsen
Browse files

doc: fix description of N-API exception handlers

The return value is not a boolean and even if interpreted as one,
it does not indicate whether an exception is pending.

For napi_is_exception_pending, the description of the result parameter
already explains how to check whether an exception is pending.

PR-URL: https://github.com/nodejs/node/pull/30893


Reviewed-By: default avatarRich Trott <rtrott@gmail.com>
Reviewed-By: default avatarGabriel Schulhof <gabriel.schulhof@intel.com>
Reviewed-By: default avatarAnna Henningsen <anna@addaleax.net>
parent 952b90ca
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment