From 63cae79a58f1a40e397f2c39a91ae3f038019aaf Mon Sep 17 00:00:00 2001 From: Ujjwal Sharma Date: Sun, 22 Apr 2018 02:49:45 +0530 Subject: [PATCH] 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 PR-URL: https://github.com/nodejs/node/pull/20206 Reviewed-By: Matteo Collina Reviewed-By: Vse Mozhet Byt Reviewed-By: Luigi Pinca Reviewed-By: Trivikram Kamat --- doc/api/http2.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/api/http2.md b/doc/api/http2.md index a893cda97ef7bf..f35e9b8b296151 100644 --- a/doc/api/http2.md +++ b/doc/api/http2.md @@ -149,6 +149,8 @@ User code will typically not listen for this event directly. added: v8.4.0 --> +* `error` {Error} + The `'error'` event is emitted when an error occurs during the processing of an `Http2Session`.