summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRuben Bridgewater <ruben@bridgewater.de>2018-02-19 01:50:56 +0100
committerRuben Bridgewater <ruben@bridgewater.de>2018-02-22 13:36:19 +0000
commit6e1c25c45672b70f4b6c6c8af56d9c0762bfae04 (patch)
tree4d9d52644c55ad7390693ebafeb1c61e315b7629 /doc
parent8272c225b12eb08f60d41791c68f3f1a28caec20 (diff)
downloadandroid-node-v8-6e1c25c45672b70f4b6c6c8af56d9c0762bfae04.tar.gz
android-node-v8-6e1c25c45672b70f4b6c6c8af56d9c0762bfae04.tar.bz2
android-node-v8-6e1c25c45672b70f4b6c6c8af56d9c0762bfae04.zip
errors: update all internal errors
This updates all internal errors to the new error type. While doing so it removes unused errors. A few errors currently seem to have the wrong type. To identify them later, comments were added next to the error type. PR-URL: https://github.com/nodejs/node/pull/18857 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/api/errors.md55
1 files changed, 0 insertions, 55 deletions
diff --git a/doc/api/errors.md b/doc/api/errors.md
index 128a3ff68b..dfd3a84d47 100644
--- a/doc/api/errors.md
+++ b/doc/api/errors.md
@@ -793,12 +793,6 @@ An invalid symlink type was passed to the [`fs.symlink()`][] or
An attempt was made to add more headers after the headers had already been sent.
-<a id="ERR_HTTP_INVALID_CHAR"></a>
-### ERR_HTTP_INVALID_CHAR
-
-An invalid character was found in an HTTP response status message (reason
-phrase).
-
<a id="ERR_HTTP_INVALID_HEADER_VALUE"></a>
### ERR_HTTP_INVALID_HEADER_VALUE
@@ -815,11 +809,6 @@ Status code was outside the regular status code range (100-999).
The `Trailer` header was set even though the transfer encoding does not support
that.
-<a id="ERR_HTTP2_ALREADY_SHUTDOWN"></a>
-### ERR_HTTP2_ALREADY_SHUTDOWN
-
-Occurs with multiple attempts to shutdown an HTTP/2 session.
-
<a id="ERR_HTTP2_ALTSVC_INVALID_ORIGIN"></a>
### ERR_HTTP2_ALTSVC_INVALID_ORIGIN
@@ -848,22 +837,12 @@ forbidden.
For HTTP/2 requests using the `CONNECT` method, the `:scheme` pseudo-header is
forbidden.
-<a id="ERR_HTTP2_FRAME_ERROR"></a>
-### ERR_HTTP2_FRAME_ERROR
-
-A failure occurred sending an individual frame on the HTTP/2 session.
-
<a id="ERR_HTTP2_GOAWAY_SESSION"></a>
### ERR_HTTP2_GOAWAY_SESSION
New HTTP/2 Streams may not be opened after the `Http2Session` has received a
`GOAWAY` frame from the connected peer.
-<a id="ERR_HTTP2_HEADER_REQUIRED"></a>
-### ERR_HTTP2_HEADER_REQUIRED
-
-A required header was missing in an HTTP/2 message.
-
<a id="ERR_HTTP2_HEADER_SINGLE_VALUE"></a>
### ERR_HTTP2_HEADER_SINGLE_VALUE
@@ -875,22 +854,11 @@ have only a single value.
An additional headers was specified after an HTTP/2 response was initiated.
-<a id="ERR_HTTP2_HEADERS_OBJECT"></a>
-### ERR_HTTP2_HEADERS_OBJECT
-
-An HTTP/2 Headers Object was expected.
-
<a id="ERR_HTTP2_HEADERS_SENT"></a>
### ERR_HTTP2_HEADERS_SENT
An attempt was made to send multiple response headers.
-<a id="ERR_HTTP2_INFO_HEADERS_AFTER_RESPOND"></a>
-### ERR_HTTP2_INFO_HEADERS_AFTER_RESPOND
-
-HTTP/2 Informational headers must only be sent *prior* to calling the
-`Http2Stream.prototype.respond()` method.
-
<a id="ERR_HTTP2_INFO_STATUS_NOT_ALLOWED"></a>
### ERR_HTTP2_INFO_STATUS_NOT_ALLOWED
@@ -1280,14 +1248,6 @@ strict compliance with the API specification (which in some cases may accept
`func(undefined)` and `func()` are treated identically, and the
[`ERR_INVALID_ARG_TYPE`][] error code may be used instead.
-<a id="ERR_MISSING_DYNAMIC_INSTANTIATE_HOOK"></a>
-### ERR_MISSING_DYNAMIC_INSTANTIATE_HOOK
-
-> Stability: 1 - Experimental
-
-An [ES6 module][] loader hook specified `format: 'dynamic` but did not provide a
-`dynamicInstantiate` hook.
-
<a id="ERR_MISSING_MODULE"></a>
### ERR_MISSING_MODULE
@@ -1316,11 +1276,6 @@ would be possible by calling a callback more than once.
While using `N-API`, a constructor passed was not a function.
-<a id="ERR_NAPI_CONS_PROTOTYPE_OBJECT"></a>
-### ERR_NAPI_CONS_PROTOTYPE_OBJECT
-
-While using `N-API`, `Constructor.prototype` was not an object.
-
<a id="ERR_NAPI_INVALID_DATAVIEW_ARGS"></a>
### ERR_NAPI_INVALID_DATAVIEW_ARGS
@@ -1363,11 +1318,6 @@ For example: `Buffer.write(string, encoding, offset[, length])`
A given value is out of the accepted range.
-<a id="ERR_PARSE_HISTORY_DATA"></a>
-### ERR_PARSE_HISTORY_DATA
-
-The `REPL` module was unable parse data from the REPL history file.
-
<a id="ERR_REQUIRE_ESM"></a>
### ERR_REQUIRE_ESM
@@ -1524,11 +1474,6 @@ recommended to use 2048 bits or larger for stronger security.
A TLS/SSL handshake timed out. In this case, the server must also abort the
connection.
-<a id="ERR_TLS_RENEGOTIATION_FAILED"></a>
-### ERR_TLS_RENEGOTIATION_FAILED
-
-A TLS renegotiation request has failed in a non-specific way.
-
<a id="ERR_TLS_REQUIRED_SERVER_NAME"></a>
### ERR_TLS_REQUIRED_SERVER_NAME