diff options
author | Ujjwal Sharma <usharma1998@gmail.com> | 2018-05-08 22:46:57 +0300 |
---|---|---|
committer | Beth Griggs <Bethany.Griggs@uk.ibm.com> | 2018-10-17 02:07:24 +0300 |
commit | 4f0035485f9f2a52526bbeaf9662b9071af9fbf4 (patch) | |
tree | f01059f1581c06e1b683562e0cf4584f9b691f6d /doc | |
parent | 77acef4af27eea3064e49c1c2d8f8d9216c20b26 (diff) |
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: 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/20610
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/http2.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/api/http2.md b/doc/api/http2.md index bb8bc8dc461..7c162d1062d 100644 --- a/doc/api/http2.md +++ b/doc/api/http2.md @@ -850,6 +850,8 @@ code specified when closing the stream. If the code is any value other than added: v8.4.0 --> +* `error` {Error} + The `'error'` event is emitted when an error occurs during the processing of an `Http2Stream`. |