Skip to content

Commit

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

Refs: nodejs/help#877 (comment)

Backport-PR-URL: #22850
PR-URL: #20206
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
  • Loading branch information
ryzokuken authored and BethGriggs committed Oct 16, 2018
1 parent 5abe246 commit b32cf8f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/api/http2.md
Expand Up @@ -149,6 +149,8 @@ connected to the remote peer and communication may begin.
added: v8.4.0
-->

* `error` {Error}

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

Expand Down

0 comments on commit b32cf8f

Please sign in to comment.