Skip to content

Commit 88bc6da

Browse files
ryzokukentargos
authored andcommitted
doc: add parameters for Http2Stream:error event
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]>
1 parent b3b267a commit 88bc6da

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

doc/api/http2.md

+2
Original file line numberDiff line numberDiff line change
@@ -846,6 +846,8 @@ the `http2stream.rstCode` property. If the code is any value other than
846846
added: v8.4.0
847847
-->
848848

849+
* `error` {Error}
850+
849851
The `'error'` event is emitted when an error occurs during the processing of
850852
an `Http2Stream`.
851853

0 commit comments

Comments
 (0)