summaryrefslogtreecommitdiff
path: root/doc/api/errors.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/api/errors.md')
-rw-r--r--doc/api/errors.md25
1 files changed, 25 insertions, 0 deletions
diff --git a/doc/api/errors.md b/doc/api/errors.md
index 00e44618ef..c0b2564e2b 100644
--- a/doc/api/errors.md
+++ b/doc/api/errors.md
@@ -1376,6 +1376,31 @@ multiple of the element size.
While calling `napi_create_typedarray()`, `(length * size_of_element) +
byte_offset` was larger than the length of given `buffer`.
+<a id="ERR_NAPI_TSFN_CALL_JS"></a>
+### ERR_NAPI_TSFN_CALL_JS
+
+An error occurred while invoking the JavaScript portion of the thread-safe
+function.
+
+<a id="ERR_NAPI_TSFN_GET_UNDEFINED"></a>
+### ERR_NAPI_TSFN_GET_UNDEFINED
+
+An error occurred while attempting to retrieve the JavaScript `undefined`
+value.
+
+<a id="ERR_NAPI_TSFN_START_IDLE_LOOP"></a>
+### ERR_NAPI_TSFN_START_IDLE_LOOP
+
+On the main thread, values are removed from the queue associated with the
+thread-safe function in an idle loop. This error indicates that an error
+has occurred when attemping to start the loop.
+
+<a id="ERR_NAPI_TSFN_STOP_IDLE_LOOP"></a>
+### ERR_NAPI_TSFN_STOP_IDLE_LOOP
+
+Once no more items are left in the queue, the idle loop must be suspended. This
+error indicates that the idle loop has failed to stop.
+
<a id="ERR_NO_CRYPTO"></a>
### ERR_NO_CRYPTO