Skip to content

Commit 4f19386

Browse files
TrottMylesBorins
authored andcommitted
doc: remove errors that were never released
Refs: #33764 (comment) PR-URL: #34197 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 48f3e9d commit 4f19386

File tree

1 file changed

+0
-72
lines changed

1 file changed

+0
-72
lines changed

doc/api/errors.md

-72
Original file line numberDiff line numberDiff line change
@@ -2487,78 +2487,6 @@ removed: v10.0.0
24872487
Used when an attempt is made to use a `zlib` object after it has already been
24882488
closed.
24892489

2490-
### Other error codes
2491-
2492-
These errors have never been released, but had been present on master between
2493-
releases.
2494-
2495-
<a id="ERR_ENTRY_TYPE_MISMATCH"></a>
2496-
#### `ERR_ENTRY_TYPE_MISMATCH`
2497-
2498-
The `--entry-type=commonjs` flag was used to attempt to execute an `.mjs` file
2499-
or a `.js` file where the nearest parent `package.json` contains
2500-
`"type": "module"`; or
2501-
the `--entry-type=module` flag was used to attempt to execute a `.cjs` file or
2502-
a `.js` file where the nearest parent `package.json` either lacks a `"type"`
2503-
field or contains `"type": "commonjs"`.
2504-
2505-
<a id="ERR_FS_WATCHER_ALREADY_STARTED"></a>
2506-
#### `ERR_FS_WATCHER_ALREADY_STARTED`
2507-
2508-
An attempt was made to start a watcher returned by `fs.watch()` that has
2509-
already been started.
2510-
2511-
<a id="ERR_FS_WATCHER_NOT_STARTED"></a>
2512-
#### `ERR_FS_WATCHER_NOT_STARTED`
2513-
2514-
An attempt was made to initiate operations on a watcher returned by
2515-
`fs.watch()` that has not yet been started.
2516-
2517-
<a id="ERR_HTTP2_ALREADY_SHUTDOWN"></a>
2518-
#### `ERR_HTTP2_ALREADY_SHUTDOWN`
2519-
2520-
Occurs with multiple attempts to shutdown an HTTP/2 session.
2521-
2522-
<a id="ERR_HTTP2_ERROR"></a>
2523-
#### `ERR_HTTP2_ERROR`
2524-
2525-
A non-specific HTTP/2 error has occurred.
2526-
2527-
<a id="ERR_INVALID_REPL_HISTORY"></a>
2528-
#### `ERR_INVALID_REPL_HISTORY`
2529-
2530-
Used in the `repl` in case the old history file is used and an error occurred
2531-
while trying to read and parse it.
2532-
2533-
<a id="ERR_INVALID_REPL_TYPE"></a>
2534-
#### `ERR_INVALID_REPL_TYPE`
2535-
2536-
The `--entry-type=...` flag is not compatible with the Node.js REPL.
2537-
2538-
<a id="ERR_STREAM_HAS_STRINGDECODER"></a>
2539-
#### `ERR_STREAM_HAS_STRINGDECODER`
2540-
2541-
Used to prevent an abort if a string decoder was set on the Socket.
2542-
2543-
```js
2544-
const Socket = require('net').Socket;
2545-
const instance = new Socket();
2546-
2547-
instance.setEncoding('utf8');
2548-
```
2549-
2550-
<a id="ERR_STRING_TOO_LARGE"></a>
2551-
#### `ERR_STRING_TOO_LARGE`
2552-
2553-
An attempt has been made to create a string larger than the maximum allowed
2554-
size.
2555-
2556-
<a id="ERR_TTY_WRITABLE_NOT_READABLE"></a>
2557-
#### `ERR_TTY_WRITABLE_NOT_READABLE`
2558-
2559-
This `Error` is thrown when a read is attempted on a TTY `WriteStream`,
2560-
such as `process.stdout.on('data')`.
2561-
25622490
[`'uncaughtException'`]: process.html#process_event_uncaughtexception
25632491
[`--disable-proto=throw`]: cli.html#cli_disable_proto_mode
25642492
[`--force-fips`]: cli.html#cli_force_fips

0 commit comments

Comments
 (0)