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 <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
  • Loading branch information
ryzokuken authored and kjin committed Aug 23, 2018
1 parent c8475bb commit 6277d59
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 6277d59

Please sign in to comment.