summaryrefslogtreecommitdiff
path: root/doc/api/errors.md
diff options
context:
space:
mode:
authorAnna Henningsen <anna@addaleax.net>2019-03-07 10:18:03 +0100
committerAnna Henningsen <anna@addaleax.net>2019-03-11 09:56:56 +0000
commita52aedeae08b57daedae56fd818be09df5f32e86 (patch)
tree60b9ea606dec5bb1fdeb64eb20fd4641bf560d74 /doc/api/errors.md
parent6113ba96cb941775f20369924484046cd8e05089 (diff)
downloadandroid-node-v8-a52aedeae08b57daedae56fd818be09df5f32e86.tar.gz
android-node-v8-a52aedeae08b57daedae56fd818be09df5f32e86.tar.bz2
android-node-v8-a52aedeae08b57daedae56fd818be09df5f32e86.zip
worker: remove `ERR_CLOSED_MESSAGE_PORT`
This aligns `MessagePort`s more with the web API. Refs: https://github.com/nodejs/node/issues/26463 PR-URL: https://github.com/nodejs/node/pull/26487 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'doc/api/errors.md')
-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 ebe7de64a2..f59a9ffcf5 100644
--- a/doc/api/errors.md
+++ b/doc/api/errors.md
@@ -688,12 +688,6 @@ Used when a child process is being forked without specifying an IPC channel.
Used when the main process is trying to read data from the child process's
STDERR/STDOUT, and the data's length is longer than the `maxBuffer` option.
-<a id="ERR_CLOSED_MESSAGE_PORT"></a>
-### ERR_CLOSED_MESSAGE_PORT
-
-There was an attempt to use a `MessagePort` instance in a closed
-state, usually after `.close()` has been called.
-
<a id="ERR_CONSOLE_WRITABLE_STREAM"></a>
### ERR_CONSOLE_WRITABLE_STREAM
@@ -1986,6 +1980,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_CLOSED_MESSAGE_PORT"></a>
+### ERR_CLOSED_MESSAGE_PORT
+<!-- YAML
+added: v10.5.0
+removed: REPLACEME
+-->
+
+There was an attempt to use a `MessagePort` instance in a closed
+state, usually after `.close()` has been called.
+
<a id="ERR_HTTP2_FRAME_ERROR"></a>
### ERR_HTTP2_FRAME_ERROR
<!-- YAML