Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUjjwal Sharma <usharma1998@gmail.com>2018-05-08 22:46:57 +0300
committerUjjwal Sharma <usharma1998@gmail.com>2018-05-09 07:44:17 +0300
commitd5b259e22bdd165929e20ae211f72d71d70c9dae (patch)
treea0eb80e50d35a1457dc51982ea9fa61987656040 /doc/api/http2.md
parent4214c2fd33bcb0d57dde87d028a69f4e3f7a8119 (diff)
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 4f668f5dd15..560e183dca6 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`.