doc: document arguments for 'error' event on a stream

Fixes #6361.
This commit is contained in:
Maciej Małecki 2014-08-07 20:56:34 +02:00 committed by Timothy J Fontaine
parent cc08106d62
commit d6b4766a78
1 changed files with 4 additions and 0 deletions

View File

@ -183,6 +183,8 @@ descriptor) has been closed. Not all streams will emit this.
#### Event: 'error'
* {Error Object}
Emitted if there was an error receiving data.
#### readable.read([size])
@ -579,6 +581,8 @@ reader.unpipe(writer);
#### Event: 'error'
* {Error object}
Emitted if there was an error when writing or piping data.
### Class: stream.Duplex