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: #20610
Reviewed-By: Vse Mozhet Byt <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
  • Loading branch information
ryzokuken authored and targos committed May 12, 2018
1 parent b3b267a commit 88bc6da
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 @@ -846,6 +846,8 @@ the `http2stream.rstCode` property. 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 88bc6da

Please sign in to comment.