Skip to content

Commit 4f00354

Browse files
ryzokukenBethGriggs
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) Backport-PR-URL: #22850 PR-URL: #20610 Reviewed-By: Vse Mozhet Byt <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
1 parent 77acef4 commit 4f00354

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
@@ -850,6 +850,8 @@ code specified when closing the stream. If the code is any value other than
850850
added: v8.4.0
851851
-->
852852

853+
* `error` {Error}
854+
853855
The `'error'` event is emitted when an error occurs during the processing of
854856
an `Http2Stream`.
855857

0 commit comments

Comments
 (0)