Skip to content

Commit 3b71aa8

Browse files
addaleaxcodebytere
authored andcommitted
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 879c932 commit 3b71aa8

File tree

2 files changed

+14
-13
lines changed

2 files changed

+14
-13
lines changed

doc/api/errors.md

+14-10
Original file line numberDiff line numberDiff line change
@@ -1960,16 +1960,6 @@ category.
19601960
The `trace_events` module could not be loaded because Node.js was compiled with
19611961
the `--without-v8-platform` flag.
19621962

1963-
<a id="ERR_TRANSFERRING_EXTERNALIZED_SHAREDARRAYBUFFER"></a>
1964-
### `ERR_TRANSFERRING_EXTERNALIZED_SHAREDARRAYBUFFER`
1965-
1966-
A `SharedArrayBuffer` whose memory is not managed by the JavaScript engine
1967-
or by Node.js was encountered during serialization. Such a `SharedArrayBuffer`
1968-
cannot be serialized.
1969-
1970-
This can only happen when native addons create `SharedArrayBuffer`s in
1971-
"externalized" mode, or put existing `SharedArrayBuffer` into externalized mode.
1972-
19731963
<a id="ERR_TRANSFORM_ALREADY_TRANSFORMING"></a>
19741964
### `ERR_TRANSFORM_ALREADY_TRANSFORMING`
19751965

@@ -2406,6 +2396,20 @@ removed: v10.0.0
24062396

24072397
Used when a TLS renegotiation request has failed in a non-specific way.
24082398

2399+
<a id="ERR_TRANSFERRING_EXTERNALIZED_SHAREDARRAYBUFFER"></a>
2400+
### `ERR_TRANSFERRING_EXTERNALIZED_SHAREDARRAYBUFFER`
2401+
<!-- YAML
2402+
added: v10.5.0
2403+
removed: v14.0.0
2404+
-->
2405+
2406+
A `SharedArrayBuffer` whose memory is not managed by the JavaScript engine
2407+
or by Node.js was encountered during serialization. Such a `SharedArrayBuffer`
2408+
cannot be serialized.
2409+
2410+
This can only happen when native addons create `SharedArrayBuffer`s in
2411+
"externalized" mode, or put existing `SharedArrayBuffer` into externalized mode.
2412+
24092413
<a id="ERR_UNKNOWN_BUILTIN_MODULE"></a>
24102414
### `ERR_UNKNOWN_BUILTIN_MODULE`
24112415
<!-- YAML

src/node_errors.h

-3
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)