From 1f9570bd10ef6ce761f268e098f66e19e2838b78 Mon Sep 17 00:00:00 2001 From: Benjamin Gruenbaum Date: Mon, 23 Jul 2018 19:10:28 +0300 Subject: [PATCH] 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 Reviewed-By: Vse Mozhet Byt Reviewed-By: Luigi Pinca Reviewed-By: Minwoo Jung Reviewed-By: Colin Ihrig Reviewed-By: James M Snell --- doc/api/errors.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/doc/api/errors.md b/doc/api/errors.md index 131d223f66867a..c21ae1940fbc4a 100644 --- a/doc/api/errors.md +++ b/doc/api/errors.md @@ -1674,6 +1674,16 @@ category. The `trace_events` module could not be loaded because Node.js was compiled with the `--without-v8-platform` flag. + +### 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. + ### ERR_TRANSFORM_ALREADY_TRANSFORMING