Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Nagy <ronagy@icloud.com>2021-11-13 15:42:30 +0300
committerRobert Nagy <ronagy@icloud.com>2021-11-18 16:31:43 +0300
commit340b770d3f4c3b50a5d36c0776afd63d9b4f22de (patch)
tree977610f7a92ef27ad421c251410e990d8aaed627 /doc/api/stream.md
parent2b0087f3d4df741d8031724c9abd2ea71dcc4dab (diff)
stream: unify writableErrored and readableErrored
Both of these should always refer to the same error, hence there is no reason to separate them. PR-URL: https://github.com/nodejs/node/pull/40799 Refs: https://github.com/nodejs/node/pull/40696 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'doc/api/stream.md')
-rw-r--r--doc/api/stream.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/stream.md b/doc/api/stream.md
index c20afc5f8dc..4f242a5d519 100644
--- a/doc/api/stream.md
+++ b/doc/api/stream.md
@@ -633,7 +633,7 @@ added:
Number of times [`writable.uncork()`][stream-uncork] needs to be
called in order to fully uncork the stream.
-##### `writable.writableErrored`
+##### `writable.errored`
<!-- YAML
added:
@@ -1389,7 +1389,7 @@ added: v12.9.0
Becomes `true` when [`'end'`][] event is emitted.
-##### `readable.readableErrored`
+##### `readable.errored`
<!-- YAML
added: