Commit f27f8d25 authored by Michael Dawson's avatar Michael Dawson
Browse files

doc: clarify behavior of napi_extended_error_info

Fix up example and make it more explicit on how
you need to use napi_extended_error_info in order to
help people avoid what might be a common mistake that
we made in node-addon-api.

Refs: https://github.com/nodejs/node-addon-api/issues/1089



Signed-off-by: default avatarMichael Dawson <mdawson@devrus.com>

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


Reviewed-By: default avatarGabriel Schulhof <gabrielschulhof@gmail.com>
Reviewed-By: default avatarDarshan Sen <raisinten@gmail.com>
parent 516cdcd8
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