diff --git a/doc/api/n-api.md b/doc/api/n-api.md index f6e225488c..da26b88710 100644 --- a/doc/api/n-api.md +++ b/doc/api/n-api.md @@ -269,6 +269,9 @@ Returns `napi_ok` if the API succeeded. This API retrieves a `napi_extended_error_info` structure with information about the last error that occurred. +*Note*: The content of the `napi_extended_error_info` returned is only +valid up until an n-api function is called on the same `env`. + *Note*: Do not rely on the content or format of any of the extended information as it is not subject to SemVer and may change at any time. It is intended only for logging purposes.