summaryrefslogtreecommitdiff
path: root/doc/api/errors.md
diff options
context:
space:
mode:
authorBenjamin Gruenbaum <benji@peer5.com>2018-07-23 19:10:28 +0300
committerAnna Henningsen <anna@addaleax.net>2018-07-27 21:07:16 +0200
commitf42aa32529bc578aea718f468af16d04a344158e (patch)
tree949e7fb842e24fae3df4bf55786df5d0f9a4d655 /doc/api/errors.md
parentce5157b22f8a644b86e9f740ae82c0fb482224e4 (diff)
downloadandroid-node-v8-f42aa32529bc578aea718f468af16d04a344158e.tar.gz
android-node-v8-f42aa32529bc578aea718f468af16d04a344158e.tar.bz2
android-node-v8-f42aa32529bc578aea718f468af16d04a344158e.zip
doc: add missing worker error
ERR_TRANSFERRING_EXTERNALIZED_SHAREDARRAYBUFFER was missing from the docs - add it there based on the wording Anna used in the her PR. PR-URL: https://github.com/nodejs/node/pull/21947 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Minwoo Jung <minwoo@nodesource.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'doc/api/errors.md')
-rw-r--r--doc/api/errors.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/api/errors.md b/doc/api/errors.md
index 3e94ce8e3b..9778543c7f 100644
--- a/doc/api/errors.md
+++ b/doc/api/errors.md
@@ -1669,6 +1669,16 @@ category.
The `trace_events` module could not be loaded because Node.js was compiled with
the `--without-v8-platform` flag.
+<a id="ERR_TRANSFERRING_EXTERNALIZED_SHAREDARRAYBUFFER"></a>
+### ERR_TRANSFERRING_EXTERNALIZED_SHAREDARRAYBUFFER
+
+A `SharedArrayBuffer` whose memory is not managed by the JavaScript engine
+or by Node.js was encountered during serialization. Such a `SharedArrayBuffer`
+cannot be serialized.
+
+This can only happen when native addons create `SharedArrayBuffer`s in
+"externalized" mode, or put existing `SharedArrayBuffer` into externalized mode.
+
<a id="ERR_TRANSFORM_ALREADY_TRANSFORMING"></a>
### ERR_TRANSFORM_ALREADY_TRANSFORMING