From c7405fe9cb91124d966235467d6a9148e6bc9bd5 Mon Sep 17 00:00:00 2001 From: Anna Henningsen Date: Mon, 24 Sep 2018 11:15:37 +0200 Subject: Revert "tty: make _read throw ERR_TTY_WRITABLE_NOT_READABLE" This reverts commit 91eec00ca20a54b1dc010cfc2fb34bc2f39eab6b. Refs: https://github.com/nodejs/node/pull/21654 Refs: https://github.com/nodejs/node/issues/21203 PR-URL: https://github.com/nodejs/node/pull/23053 Reviewed-By: James M Snell --- doc/api/errors.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'doc/api/errors.md') diff --git a/doc/api/errors.md b/doc/api/errors.md index f9005c3bb1..1cdd1d0f20 100644 --- a/doc/api/errors.md +++ b/doc/api/errors.md @@ -1708,12 +1708,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 @@ -2068,6 +2062,13 @@ instance.setEncoding('utf8'); An attempt has been made to create a string larger than the maximum allowed size. + +#### ERR_TTY_WRITABLE_NOT_READABLE + +This `Error` is thrown when a read is attempted on a TTY `WriteStream`, +such as `process.stdout.on('data')`. + + [`--force-fips`]: cli.html#cli_force_fips [`'uncaughtException'`]: process.html#process_event_uncaughtexception [`child_process`]: child_process.html -- cgit v1.2.3