Skip to content

Commit

Permalink
doc: add parameters for Http2Stream:error event
Browse files Browse the repository at this point in the history
Add parameters for the callback for the Http2Stream:error event
inline with the pattern in the rest of the documentation.

Refs: nodejs/help#877 (comment)

PR-URL: nodejs#20610
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
  • Loading branch information
ryzokuken authored and kjin committed Sep 10, 2018
1 parent bdbabbc commit 2dec831
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/api/http2.md
Original file line number Diff line number Diff line change
Expand Up @@ -850,6 +850,8 @@ code specified when closing the stream. If the code is any value other than
added: v8.4.0
-->

* `error` {Error}

The `'error'` event is emitted when an error occurs during the processing of
an `Http2Stream`.

Expand Down

0 comments on commit 2dec831

Please sign in to comment.