From d5b259e22bdd165929e20ae211f72d71d70c9dae Mon Sep 17 00:00:00 2001 From: Ujjwal Sharma Date: Wed, 9 May 2018 01:16:57 +0530 Subject: 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 PR-URL: https://github.com/nodejs/node/pull/20610 Reviewed-By: Vse Mozhet Byt Reviewed-By: Trivikram Kamat Reviewed-By: Colin Ihrig --- doc/api/http2.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc/api/http2.md') diff --git a/doc/api/http2.md b/doc/api/http2.md index 4f668f5dd1..560e183dca 100644 --- a/doc/api/http2.md +++ b/doc/api/http2.md @@ -846,6 +846,8 @@ the `http2stream.rstCode` property. 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`. -- cgit v1.2.3