From dc92ff85851efdbc5ddb44150a95265982437a59 Mon Sep 17 00:00:00 2001 From: Robert Kowalski Date: Mon, 6 May 2013 21:53:35 +0200 Subject: [PATCH] doc: document stream.Writable 'error' event Fixes #5255. --- doc/api/stream.markdown | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/api/stream.markdown b/doc/api/stream.markdown index ce7656b8d..f71a15693 100644 --- a/doc/api/stream.markdown +++ b/doc/api/stream.markdown @@ -529,6 +529,10 @@ Emitted when the stream's write queue empties and it's safe to write without buffering again. Listen for it when `stream.write()` returns `false`. +### Event: 'error' + +Emitted if there was an error receiving data. + ### Event: 'close' Emitted when the underlying resource (for example, the backing file