From 21f94b7a8587a10a8ac451a9ba0a2d10070e927c Mon Sep 17 00:00:00 2001 From: Robert Nagy Date: Sat, 13 Nov 2021 14:42:30 +0200 Subject: [PATCH 1/2] stream: unify writableErrored and readableErrored Both of these should always refer to the same error, hence there is no reason to separate them. --- doc/api/stream.md | 4 ++-- lib/internal/streams/readable.js | 2 +- lib/internal/streams/writable.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/api/stream.md b/doc/api/stream.md index 66436eff9cb6d4..ae9cea0e1c4671 100644 --- a/doc/api/stream.md +++ b/doc/api/stream.md @@ -621,7 +621,7 @@ added: Number of times [`writable.uncork()`][stream-uncork] needs to be called in order to fully uncork the stream. -##### `writable.writableErrored` +##### `writable.errored`