summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAnna Henningsen <anna@addaleax.net>2019-06-02 16:46:13 +0200
committerAnna Henningsen <anna@addaleax.net>2019-06-10 15:22:54 +0200
commit7bd2a3fcb407970babc88650ff030526ccf79f9f (patch)
tree3ab4bfd93ed57c3894f3680fbdbb7d734c6c1277 /doc
parent55de20999b8b60a7ef889ea0d9573e9f271e1d17 (diff)
downloadandroid-node-v8-7bd2a3fcb407970babc88650ff030526ccf79f9f.tar.gz
android-node-v8-7bd2a3fcb407970babc88650ff030526ccf79f9f.tar.bz2
android-node-v8-7bd2a3fcb407970babc88650ff030526ccf79f9f.zip
worker: use DataCloneError for unknown native objects
This aligns the behaviour better with the web. PR-URL: https://github.com/nodejs/node/pull/28025 Reviewed-By: Michaƫl Zasso <targos@protonmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/api/errors.md16
1 files changed, 10 insertions, 6 deletions
diff --git a/doc/api/errors.md b/doc/api/errors.md
index ebbe215b60..131773143c 100644
--- a/doc/api/errors.md
+++ b/doc/api/errors.md
@@ -671,12 +671,6 @@ An operation outside the bounds of a `Buffer` was attempted.
An attempt has been made to create a `Buffer` larger than the maximum allowed
size.
-<a id="ERR_CANNOT_TRANSFER_OBJECT"></a>
-### ERR_CANNOT_TRANSFER_OBJECT
-
-The value passed to `postMessage()` contained an object that is not supported
-for transferring.
-
<a id="ERR_CANNOT_WATCH_SIGINT"></a>
### ERR_CANNOT_WATCH_SIGINT
@@ -2013,6 +2007,16 @@ A module file could not be resolved while attempting a [`require()`][] or
> Stability: 0 - Deprecated. These error codes are either inconsistent, or have
> been removed.
+<a id="ERR_CANNOT_TRANSFER_OBJECT"></a>
+### ERR_CANNOT_TRANSFER_OBJECT
+<!--
+added: v10.5.0
+removed: REPLACEME
+-->
+
+The value passed to `postMessage()` contained an object that is not supported
+for transferring.
+
<a id="ERR_CLOSED_MESSAGE_PORT"></a>
### ERR_CLOSED_MESSAGE_PORT
<!-- YAML