diff options
author | Anna Henningsen <anna@addaleax.net> | 2018-09-24 11:15:37 +0200 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2018-10-04 09:20:21 -0700 |
commit | c7405fe9cb91124d966235467d6a9148e6bc9bd5 (patch) | |
tree | f3970760ddb2b92a7a3999437f7460221cbf5bf8 /doc/api/errors.md | |
parent | 17a0cd2bab405bbaaf890aa52043b273d61db3d8 (diff) | |
download | android-node-v8-c7405fe9cb91124d966235467d6a9148e6bc9bd5.tar.gz android-node-v8-c7405fe9cb91124d966235467d6a9148e6bc9bd5.tar.bz2 android-node-v8-c7405fe9cb91124d966235467d6a9148e6bc9bd5.zip |
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 <jasnell@gmail.com>
Diffstat (limited to 'doc/api/errors.md')
-rw-r--r-- | doc/api/errors.md | 13 |
1 files changed, 7 insertions, 6 deletions
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. -<a id="ERR_TTY_WRITABLE_NOT_READABLE"></a> -### ERR_TTY_WRITABLE_NOT_READABLE - -This `Error` is thrown when a read is attempted on a TTY `WriteStream`, -such as `process.stdout.on('data')`. - <a id="ERR_UNCAUGHT_EXCEPTION_CAPTURE_ALREADY_SET"></a> ### 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. +<a id="ERR_TTY_WRITABLE_NOT_READABLE"></a> +#### 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 |