Skip to content

Commit 63cae79

Browse files
committed
doc: add parameters for Http2Session:error event
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) 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>
1 parent 12b90b4 commit 63cae79

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

doc/api/http2.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,8 @@ User code will typically not listen for this event directly.
149149
added: v8.4.0
150150
-->
151151

152+
* `error` {Error}
153+
152154
The `'error'` event is emitted when an error occurs during the processing of
153155
an `Http2Session`.
154156

0 commit comments

Comments
 (0)