summaryrefslogtreecommitdiff
path: root/doc/api/http2.md
diff options
context:
space:
mode:
authorUjjwal Sharma <usharma1998@gmail.com>2018-05-09 01:16:57 +0530
committerUjjwal Sharma <usharma1998@gmail.com>2018-05-09 10:14:17 +0530
commitd5b259e22bdd165929e20ae211f72d71d70c9dae (patch)
treea0eb80e50d35a1457dc51982ea9fa61987656040 /doc/api/http2.md
parent4214c2fd33bcb0d57dde87d028a69f4e3f7a8119 (diff)
downloadandroid-node-v8-d5b259e22bdd165929e20ae211f72d71d70c9dae.tar.gz
android-node-v8-d5b259e22bdd165929e20ae211f72d71d70c9dae.tar.bz2
android-node-v8-d5b259e22bdd165929e20ae211f72d71d70c9dae.zip
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 <vsemozhetbyt@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@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 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`.