diff --git a/doc/api/stream.markdown b/doc/api/stream.markdown index ce7656b8d7..f71a15693d 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