diff --git a/doc/api/errors.md b/doc/api/errors.md index 139bc9a825280d..2b2a13ff42fad6 100644 --- a/doc/api/errors.md +++ b/doc/api/errors.md @@ -1550,18 +1550,6 @@ An attempt was made to operate on an already closed socket. A call was made and the UDP subsystem was not running. - -### ERR_STDERR_CLOSE - -An attempt was made to close the `process.stderr` stream. By design, Node.js -does not allow `stdout` or `stderr` streams to be closed by user code. - - -### ERR_STDOUT_CLOSE - -An attempt was made to close the `process.stdout` stream. By design, Node.js -does not allow `stdout` or `stderr` streams to be closed by user code. - ### ERR_STREAM_CANNOT_PIPE @@ -1713,12 +1701,6 @@ A `Transform` stream finished with data still in the write buffer. The initialization of a TTY failed due to a system error. - -### ERR_TTY_WRITABLE_NOT_READABLE - -This `Error` is thrown when a read is attempted on a TTY `WriteStream`, -such as `process.stdout.on('data')`. - ### ERR_UNCAUGHT_EXCEPTION_CAPTURE_ALREADY_SET @@ -1958,6 +1940,37 @@ removed: v10.0.0 The `repl` module was unable to parse data from the REPL history file. + + +### ERR_STDERR_CLOSE + + +An attempt was made to close the `process.stderr` stream. By design, Node.js +does not allow `stdout` or `stderr` streams to be closed by user code. + + +### ERR_STDOUT_CLOSE + + +An attempt was made to close the `process.stdout` stream. By design, Node.js +does not allow `stdout` or `stderr` streams to be closed by user code. + ### ERR_STREAM_READ_NOT_IMPLEMENTED