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: https://github.com/nodejs/help/issues/877#issuecomment-381253464

Backport-PR-URL: https://github.com/nodejs/node/pull/22850
PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
Ujjwal Sharma authored and Beth Griggs committed 2018-10-17 00:07:24 +01:00
1 parent 5abe246a44
commit b32cf8fa40
1 file changed
+2
+2
View File
@@ -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`.