diff options
author | Rich Trott <rtrott@gmail.com> | 2021-10-29 04:27:26 +0300 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2021-10-31 19:36:02 +0300 |
commit | 571e0b1b3f89d05f657355a0d2e8faf19b6b60de (patch) | |
tree | 71652c2a44c58cfb5d2417975bfd6920a606d434 /doc/api/n-api.md | |
parent | 1a6d92728f746914e8e2914adcbf3c082ae13ab5 (diff) |
doc: final round of markdown format changes
Once the README and find-inactive-collaborators.mjs changes land here,
we can introduce markdown formatting as a step in the toolchain
somewhere.
Before this lands, https://github.com/nodejs/node-core-utils/pull/578
will need to land and be included in a node-core-utils release.
PR-URL: https://github.com/nodejs/node/pull/40645
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Diffstat (limited to 'doc/api/n-api.md')
-rw-r--r-- | doc/api/n-api.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/n-api.md b/doc/api/n-api.md index 0c0b9110947..335394e9b45 100644 --- a/doc/api/n-api.md +++ b/doc/api/n-api.md @@ -1009,8 +1009,8 @@ The content of the `napi_extended_error_info` returned is only valid up until a Node-API function is called on the same `env`. This includes a call to `napi_is_exception_pending` so it may often be necessary to make a copy of the information so that it can be used later. The pointer returned -in error_message points to a statically defined string so it is safe to use -that pointer if you have copied it out of the error_message field (which will +in `error_message` points to a statically-defined string so it is safe to use +that pointer if you have copied it out of the `error_message` field (which will be overwritten) before another Node-API function was called. Do not rely on the content or format of any of the extended information as it |