diff options
author | Fedor Indutny <fedor.indutny@gmail.com> | 2013-12-06 19:36:43 +0400 |
---|---|---|
committer | Timothy J Fontaine <tjfontaine@gmail.com> | 2013-12-06 10:26:49 -0800 |
commit | 796834bf18d3af28216267ab54b8861e2ce981d3 (patch) | |
tree | 0b1805199a28e67d9dc83ab41524a4915a451c14 /doc/api | |
parent | 98be8df571f92ad0b846209c21cc00139bc14805 (diff) | |
download | node-796834bf18d3af28216267ab54b8861e2ce981d3.tar.gz |
doc: document 'error' event for stream.Writable
fix #5255
Diffstat (limited to 'doc/api')
-rw-r--r-- | doc/api/stream.markdown | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/api/stream.markdown b/doc/api/stream.markdown index d750dbf52..5ea3e3d08 100644 --- a/doc/api/stream.markdown +++ b/doc/api/stream.markdown @@ -577,6 +577,10 @@ reader.pipe(writer); reader.unpipe(writer); ``` +#### Event: 'error' + +Emitted if there was an error when writing or piping data. + ### Class: stream.Duplex Duplex streams are streams that implement both the [Readable][] and |