Skip to content

Commit 05da376

Browse files
Trottaddaleax
authored andcommitted
doc: remove errors that were never released
Refs: #33764 (comment) PR-URL: #34197 Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 831328b commit 05da376

File tree

1 file changed

+0
-78
lines changed

1 file changed

+0
-78
lines changed

doc/api/errors.md

-78
Original file line numberDiff line numberDiff line change
@@ -2461,84 +2461,6 @@ removed: v10.0.0
24612461
Used when an attempt is made to use a `zlib` object after it has already been
24622462
closed.
24632463

2464-
### Other error codes
2465-
2466-
These errors have never been released, but had been present on master between
2467-
releases.
2468-
2469-
<a id="ERR_ENTRY_TYPE_MISMATCH"></a>
2470-
#### `ERR_ENTRY_TYPE_MISMATCH`
2471-
2472-
The `--entry-type=commonjs` flag was used to attempt to execute an `.mjs` file
2473-
or a `.js` file where the nearest parent `package.json` contains
2474-
`"type": "module"`; or
2475-
the `--entry-type=module` flag was used to attempt to execute a `.cjs` file or
2476-
a `.js` file where the nearest parent `package.json` either lacks a `"type"`
2477-
field or contains `"type": "commonjs"`.
2478-
2479-
<a id="ERR_FS_WATCHER_ALREADY_STARTED"></a>
2480-
#### `ERR_FS_WATCHER_ALREADY_STARTED`
2481-
2482-
An attempt was made to start a watcher returned by `fs.watch()` that has
2483-
already been started.
2484-
2485-
<a id="ERR_FS_WATCHER_NOT_STARTED"></a>
2486-
#### `ERR_FS_WATCHER_NOT_STARTED`
2487-
2488-
An attempt was made to initiate operations on a watcher returned by
2489-
`fs.watch()` that has not yet been started.
2490-
2491-
<a id="ERR_HTTP2_ALREADY_SHUTDOWN"></a>
2492-
#### `ERR_HTTP2_ALREADY_SHUTDOWN`
2493-
2494-
Occurs with multiple attempts to shutdown an HTTP/2 session.
2495-
2496-
<a id="ERR_HTTP2_ERROR"></a>
2497-
#### `ERR_HTTP2_ERROR`
2498-
2499-
A non-specific HTTP/2 error has occurred.
2500-
2501-
<a id="ERR_INVALID_REPL_HISTORY"></a>
2502-
#### `ERR_INVALID_REPL_HISTORY`
2503-
2504-
Used in the `repl` in case the old history file is used and an error occurred
2505-
while trying to read and parse it.
2506-
2507-
<a id="ERR_INVALID_REPL_TYPE"></a>
2508-
#### `ERR_INVALID_REPL_TYPE`
2509-
2510-
The `--entry-type=...` flag is not compatible with the Node.js REPL.
2511-
2512-
<a id="ERR_MISSING_DYNAMIC_INSTANTIATE_HOOK"></a>
2513-
#### `ERR_MISSING_DYNAMIC_INSTANTIATE_HOOK`
2514-
2515-
Used when an [ES Module][] loader hook specifies `format: 'dynamic'` but does
2516-
not provide a `dynamicInstantiate` hook.
2517-
2518-
<a id="ERR_STREAM_HAS_STRINGDECODER"></a>
2519-
#### `ERR_STREAM_HAS_STRINGDECODER`
2520-
2521-
Used to prevent an abort if a string decoder was set on the Socket.
2522-
2523-
```js
2524-
const Socket = require('net').Socket;
2525-
const instance = new Socket();
2526-
2527-
instance.setEncoding('utf8');
2528-
```
2529-
2530-
<a id="ERR_STRING_TOO_LARGE"></a>
2531-
#### `ERR_STRING_TOO_LARGE`
2532-
2533-
An attempt has been made to create a string larger than the maximum allowed
2534-
size.
2535-
2536-
<a id="ERR_TTY_WRITABLE_NOT_READABLE"></a>
2537-
#### `ERR_TTY_WRITABLE_NOT_READABLE`
2538-
2539-
This `Error` is thrown when a read is attempted on a TTY `WriteStream`,
2540-
such as `process.stdout.on('data')`.
2541-
25422464
[`'uncaughtException'`]: process.html#process_event_uncaughtexception
25432465
[`--disable-proto=throw`]: cli.html#cli_disable_proto_mode
25442466
[`--force-fips`]: cli.html#cli_force_fips

0 commit comments

Comments
 (0)