GeezerVison is showing github.com — src: remove unused `ERR_TRANSFERRING_EXTERNALIZED_SHAREDARRAYBUFFER` · jmdfm/node@c4a33f7
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: doc/api/errors.md +14-10Lines changed: 14 additions & 10 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -1967,16 +1967,6 @@ category. |
1967 | 1967 | The `trace_events` module could not be loaded because Node.js was compiled with |
1968 | 1968 | the `--without-v8-platform` flag. |
1969 | 1969 |
|
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 | | - |
1980 | 1970 | <a id="ERR_TRANSFORM_ALREADY_TRANSFORMING"></a> |
1981 | 1971 | ### `ERR_TRANSFORM_ALREADY_TRANSFORMING` |
1982 | 1972 |
|
@@ -2413,6 +2403,20 @@ removed: v10.0.0 |
2413 | 2403 |
|
2414 | 2404 | Used when a TLS renegotiation request has failed in a non-specific way. |
2415 | 2405 |
|
| 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 | + |
2416 | 2420 | <a id="ERR_UNKNOWN_BUILTIN_MODULE"></a> |
2417 | 2421 | ### `ERR_UNKNOWN_BUILTIN_MODULE` |
2418 | 2422 | <!-- YAML |
|
Collapse file
Copy file name to clipboardExpand all lines: src/node_errors.h -3Lines changed: 0 additions & 3 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -51,7 +51,6 @@ void OnFatalError(const char* location, const char* message); |
51 | 51 | V(ERR_SCRIPT_EXECUTION_TIMEOUT, Error) \ |
52 | 52 | V(ERR_STRING_TOO_LONG, Error) \ |
53 | 53 | V(ERR_TLS_INVALID_PROTOCOL_METHOD, TypeError) \ |
54 | | - V(ERR_TRANSFERRING_EXTERNALIZED_SHAREDARRAYBUFFER, TypeError) \ |
55 | 54 | V(ERR_TLS_PSK_SET_IDENTIY_HINT_FAILED, Error) \ |
56 | 55 | V(ERR_VM_MODULE_CACHED_DATA_REJECTED, Error) \ |
57 | 56 | V(ERR_WASI_NOT_STARTED, Error) \ |
@@ -102,8 +101,6 @@ void OnFatalError(const char* location, const char* message); |
102 | 101 | "Loading non context-aware native modules has been disabled") \ |
103 | 102 | V(ERR_SCRIPT_EXECUTION_INTERRUPTED, \ |
104 | 103 | "Script execution was interrupted by `SIGINT`") \ |
105 | | - V(ERR_TRANSFERRING_EXTERNALIZED_SHAREDARRAYBUFFER, \ |
106 | | - "Cannot serialize externalized SharedArrayBuffer") \ |
107 | 104 | V(ERR_TLS_PSK_SET_IDENTIY_HINT_FAILED, "Failed to set PSK identity hint") \ |
108 | 105 | V(ERR_WASI_NOT_STARTED, "wasi.start() has not been called") \ |
109 | 106 | V(ERR_WORKER_INIT_FAILED, "Worker initialization failure") \ |
|