Skip to content

Commit 1f9570b

Browse files
Benjamin Gruenbaumtargos
Benjamin Gruenbaum
authored andcommitted
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: #21947 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Vse Mozhet Byt <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Minwoo Jung <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent baf3027 commit 1f9570b

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

doc/api/errors.md

+10
Original file line numberDiff line numberDiff line change
@@ -1674,6 +1674,16 @@ category.
16741674
The `trace_events` module could not be loaded because Node.js was compiled with
16751675
the `--without-v8-platform` flag.
16761676

1677+
<a id="ERR_TRANSFERRING_EXTERNALIZED_SHAREDARRAYBUFFER"></a>
1678+
### ERR_TRANSFERRING_EXTERNALIZED_SHAREDARRAYBUFFER
1679+
1680+
A `SharedArrayBuffer` whose memory is not managed by the JavaScript engine
1681+
or by Node.js was encountered during serialization. Such a `SharedArrayBuffer`
1682+
cannot be serialized.
1683+
1684+
This can only happen when native addons create `SharedArrayBuffer`s in
1685+
"externalized" mode, or put existing `SharedArrayBuffer` into externalized mode.
1686+
16771687
<a id="ERR_TRANSFORM_ALREADY_TRANSFORMING"></a>
16781688
### ERR_TRANSFORM_ALREADY_TRANSFORMING
16791689

0 commit comments

Comments
 (0)