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)

Backport-PR-URL: #22850
PR-URL: #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 BethGriggs committed Oct 16, 2018
1 parent 77acef4 commit 4f00354
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 4f00354

Please sign in to comment.