From b32cf8fa40894e2f7bc8ef09bf378bbbcfedba26 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 Backport-PR-URL: https://github.com/nodejs/node/pull/22850 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 a32fd36764b2a8..93c7b8dff442ac 100644 --- a/doc/api/http2.md +++ b/doc/api/http2.md @@ -149,6 +149,8 @@ connected to the remote peer and communication may begin. added: v8.4.0 --> +* `error` {Error} + The `'error'` event is emitted when an error occurs during the processing of an `Http2Session`.