summaryrefslogtreecommitdiff
path: root/doc/api/http2.md
diff options
context:
space:
mode:
authorUjjwal Sharma <usharma1998@gmail.com>2018-04-22 02:49:45 +0530
committerUjjwal Sharma <usharma1998@gmail.com>2018-04-23 21:21:51 +0530
commit63cae79a58f1a40e397f2c39a91ae3f038019aaf (patch)
tree4e97da4b7f3e4ca0a97133108a3c6711c2ffd9e9 /doc/api/http2.md
parent12b90b4546cdfef1adabaa661a33c98173a1a3f5 (diff)
downloadandroid-node-v8-63cae79a58f1a40e397f2c39a91ae3f038019aaf.tar.gz
android-node-v8-63cae79a58f1a40e397f2c39a91ae3f038019aaf.tar.bz2
android-node-v8-63cae79a58f1a40e397f2c39a91ae3f038019aaf.zip
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 <matteo.collina@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Diffstat (limited to 'doc/api/http2.md')
-rw-r--r--doc/api/http2.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/api/http2.md b/doc/api/http2.md
index a893cda97e..f35e9b8b29 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`.