Skip to content

Commit c4a33f7

Browse files
committed
src: remove unused ERR_TRANSFERRING_EXTERNALIZED_SHAREDARRAYBUFFER
Removed in 2bdeb88. Refs: #30020 PR-URL: #33810 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Gus Caplan <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
1 parent 58bae4d commit c4a33f7

File tree

2 files changed

+14
-13
lines changed

2 files changed

+14
-13
lines changed

doc/api/errors.md

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1967,16 +1967,6 @@ category.
19671967
The `trace_events` module could not be loaded because Node.js was compiled with
19681968
the `--without-v8-platform` flag.
19691969

1970-
<a id="ERR_TRANSFERRING_EXTERNALIZED_SHAREDARRAYBUFFER"></a>
1971-
### `ERR_TRANSFERRING_EXTERNALIZED_SHAREDARRAYBUFFER`
1972-
1973-
A `SharedArrayBuffer` whose memory is not managed by the JavaScript engine
1974-
or by Node.js was encountered during serialization. Such a `SharedArrayBuffer`
1975-
cannot be serialized.
1976-
1977-
This can only happen when native addons create `SharedArrayBuffer`s in
1978-
"externalized" mode, or put existing `SharedArrayBuffer` into externalized mode.
1979-
19801970
<a id="ERR_TRANSFORM_ALREADY_TRANSFORMING"></a>
19811971
### `ERR_TRANSFORM_ALREADY_TRANSFORMING`
19821972

@@ -2413,6 +2403,20 @@ removed: v10.0.0
24132403

24142404
Used when a TLS renegotiation request has failed in a non-specific way.
24152405

2406+
<a id="ERR_TRANSFERRING_EXTERNALIZED_SHAREDARRAYBUFFER"></a>
2407+
### `ERR_TRANSFERRING_EXTERNALIZED_SHAREDARRAYBUFFER`
2408+
<!-- YAML
2409+
added: v10.5.0
2410+
removed: v14.0.0
2411+
-->
2412+
2413+
A `SharedArrayBuffer` whose memory is not managed by the JavaScript engine
2414+
or by Node.js was encountered during serialization. Such a `SharedArrayBuffer`
2415+
cannot be serialized.
2416+
2417+
This can only happen when native addons create `SharedArrayBuffer`s in
2418+
"externalized" mode, or put existing `SharedArrayBuffer` into externalized mode.
2419+
24162420
<a id="ERR_UNKNOWN_BUILTIN_MODULE"></a>
24172421
### `ERR_UNKNOWN_BUILTIN_MODULE`
24182422
<!-- YAML

src/node_errors.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ void OnFatalError(const char* location, const char* message);
5151
V(ERR_SCRIPT_EXECUTION_TIMEOUT, Error) \
5252
V(ERR_STRING_TOO_LONG, Error) \
5353
V(ERR_TLS_INVALID_PROTOCOL_METHOD, TypeError) \
54-
V(ERR_TRANSFERRING_EXTERNALIZED_SHAREDARRAYBUFFER, TypeError) \
5554
V(ERR_TLS_PSK_SET_IDENTIY_HINT_FAILED, Error) \
5655
V(ERR_VM_MODULE_CACHED_DATA_REJECTED, Error) \
5756
V(ERR_WASI_NOT_STARTED, Error) \
@@ -102,8 +101,6 @@ void OnFatalError(const char* location, const char* message);
102101
"Loading non context-aware native modules has been disabled") \
103102
V(ERR_SCRIPT_EXECUTION_INTERRUPTED, \
104103
"Script execution was interrupted by `SIGINT`") \
105-
V(ERR_TRANSFERRING_EXTERNALIZED_SHAREDARRAYBUFFER, \
106-
"Cannot serialize externalized SharedArrayBuffer") \
107104
V(ERR_TLS_PSK_SET_IDENTIY_HINT_FAILED, "Failed to set PSK identity hint") \
108105
V(ERR_WASI_NOT_STARTED, "wasi.start() has not been called") \
109106
V(ERR_WORKER_INIT_FAILED, "Worker initialization failure") \

0 commit comments

Comments
 (0)