diff --git a/doc/api/errors.md b/doc/api/errors.md index dcb2c77a7bf353..d9cbcfcad08725 100644 --- a/doc/api/errors.md +++ b/doc/api/errors.md @@ -2059,6 +2059,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