@@ -708,26 +708,26 @@ STDERR/STDOUT, and the data's length is longer than the `maxBuffer` option.
708708` Console ` was instantiated without ` stdout ` stream, or ` Console ` has a
709709non-writable ` stdout ` or ` stderr ` stream.
710710
711- <a id =" ERR_CONTEXT_NOT_INITIALIZED " ></a >
712- ### ` ERR_CONTEXT_NOT_INITIALIZED `
711+ <a id =" ERR_CONSTRUCT_CALL_INVALID " ></a >
712+ ### ` ERR_CONSTRUCT_CALL_INVALID `
713+ <!--
714+ added: v12.5.0
715+ -->
713716
714- The vm context passed into the API is not yet initialized. This could happen
715- when an error occurs (and is caught) during the creation of the
716- context, for example, when the allocation fails or the maximum call stack
717- size is reached when the context is created.
717+ A class constructor was called that is not callable.
718718
719719<a id =" ERR_CONSTRUCT_CALL_REQUIRED " ></a >
720720### ` ERR_CONSTRUCT_CALL_REQUIRED `
721721
722722A constructor for a class was called without ` new ` .
723723
724- <a id =" ERR_CONSTRUCT_CALL_INVALID " ></a >
725- ### ` ERR_CONSTRUCT_CALL_INVALID `
726- <!--
727- added: v12.5.0
728- -->
724+ <a id =" ERR_CONTEXT_NOT_INITIALIZED " ></a >
725+ ### ` ERR_CONTEXT_NOT_INITIALIZED `
729726
730- A class constructor was called that is not callable.
727+ The vm context passed into the API is not yet initialized. This could happen
728+ when an error occurs (and is caught) during the creation of the
729+ context, for example, when the allocation fails or the maximum call stack
730+ size is reached when the context is created.
731731
732732<a id =" ERR_CPU_USAGE " ></a >
733733### ` ERR_CPU_USAGE `
@@ -940,11 +940,6 @@ allowed size for a `Buffer`.
940940An invalid symlink type was passed to the [ ` fs.symlink() ` ] [ ] or
941941[ ` fs.symlinkSync() ` ] [ ] methods.
942942
943- <a id =" ERR_HTTP_REQUEST_TIMEOUT " ></a >
944- ### ` ERR_HTTP_REQUEST_TIMEOUT `
945-
946- The client has not sent the entire request within the allowed time.
947-
948943<a id =" ERR_HTTP_HEADERS_SENT " ></a >
949944### ` ERR_HTTP_HEADERS_SENT `
950945
@@ -960,6 +955,11 @@ An invalid HTTP header value was specified.
960955
961956Status code was outside the regular status code range (100-999).
962957
958+ <a id =" ERR_HTTP_REQUEST_TIMEOUT " ></a >
959+ ### ` ERR_HTTP_REQUEST_TIMEOUT `
960+
961+ The client has not sent the entire request within the allowed time.
962+
963963<a id =" ERR_HTTP_SOCKET_ENCODING " ></a >
964964### ` ERR_HTTP_SOCKET_ENCODING `
965965
@@ -1010,6 +1010,12 @@ A non-specific HTTP/2 error has occurred.
10101010New HTTP/2 Streams may not be opened after the ` Http2Session ` has received a
10111011` GOAWAY ` frame from the connected peer.
10121012
1013+ <a id =" ERR_HTTP2_HEADER_SINGLE_VALUE " ></a >
1014+ ### ` ERR_HTTP2_HEADER_SINGLE_VALUE `
1015+
1016+ Multiple values were provided for an HTTP/2 header field that was required to
1017+ have only a single value.
1018+
10131019<a id =" ERR_HTTP2_HEADERS_AFTER_RESPOND " ></a >
10141020### ` ERR_HTTP2_HEADERS_AFTER_RESPOND `
10151021
@@ -1020,12 +1026,6 @@ An additional headers was specified after an HTTP/2 response was initiated.
10201026
10211027An attempt was made to send multiple response headers.
10221028
1023- <a id =" ERR_HTTP2_HEADER_SINGLE_VALUE " ></a >
1024- ### ` ERR_HTTP2_HEADER_SINGLE_VALUE `
1025-
1026- Multiple values were provided for an HTTP/2 header field that was required to
1027- have only a single value.
1028-
10291029<a id =" ERR_HTTP2_INFO_STATUS_NOT_ALLOWED " ></a >
10301030### ` ERR_HTTP2_INFO_STATUS_NOT_ALLOWED `
10311031
@@ -1226,12 +1226,6 @@ is set for the `Http2Stream`.
12261226` http2.connect() ` was passed a URL that uses any protocol other than ` http: ` or
12271227` https: ` .
12281228
1229- <a id =" ERR_INTERNAL_ASSERTION " ></a >
1230- ### ` ERR_INTERNAL_ASSERTION `
1231-
1232- There was a bug in Node.js or incorrect usage of Node.js internals.
1233- To fix the error, open an issue at < https://github.com/nodejs/node/issues > .
1234-
12351229<a id =" ERR_INCOMPATIBLE_OPTION_PAIR " ></a >
12361230### ` ERR_INCOMPATIBLE_OPTION_PAIR `
12371231
@@ -1292,6 +1286,12 @@ before it was connected.
12921286An API was called on the main thread that can only be used from
12931287the worker thread.
12941288
1289+ <a id =" ERR_INTERNAL_ASSERTION " ></a >
1290+ ### ` ERR_INTERNAL_ASSERTION `
1291+
1292+ There was a bug in Node.js or incorrect usage of Node.js internals.
1293+ To fix the error, open an issue at < https://github.com/nodejs/node/issues > .
1294+
12951295<a id =" ERR_INVALID_ADDRESS_FAMILY " ></a >
12961296### ` ERR_INVALID_ADDRESS_FAMILY `
12971297
@@ -1609,6 +1609,18 @@ strict compliance with the API specification (which in some cases may accept
16091609For APIs that accept options objects, some options might be mandatory. This code
16101610is thrown if a required option is missing.
16111611
1612+ <a id =" ERR_MISSING_PASSPHRASE " ></a >
1613+ ### ` ERR_MISSING_PASSPHRASE `
1614+
1615+ An attempt was made to read an encrypted key without specifying a passphrase.
1616+
1617+ <a id =" ERR_MISSING_PLATFORM_FOR_WORKER " ></a >
1618+ ### ` ERR_MISSING_PLATFORM_FOR_WORKER `
1619+
1620+ The V8 platform used by this instance of Node.js does not support creating
1621+ Workers. This is caused by lack of embedder support for Workers. In particular,
1622+ this error will not occur with standard builds of Node.js.
1623+
16121624<a id =" ERR_MISSING_TRANSFERABLE_IN_TRANSFER_LIST " ></a >
16131625### ` ERR_MISSING_TRANSFERABLE_IN_TRANSFER_LIST `
16141626<!-- YAML
@@ -1624,18 +1636,6 @@ In Node.js versions prior to REPLACEME, the error code being used here was
16241636transferable object types has been expanded to cover more types than
16251637` MessagePort ` .
16261638
1627- <a id =" ERR_MISSING_PASSPHRASE " ></a >
1628- ### ` ERR_MISSING_PASSPHRASE `
1629-
1630- An attempt was made to read an encrypted key without specifying a passphrase.
1631-
1632- <a id =" ERR_MISSING_PLATFORM_FOR_WORKER " ></a >
1633- ### ` ERR_MISSING_PLATFORM_FOR_WORKER `
1634-
1635- The V8 platform used by this instance of Node.js does not support creating
1636- Workers. This is caused by lack of embedder support for Workers. In particular,
1637- this error will not occur with standard builds of Node.js.
1638-
16391639<a id =" ERR_MODULE_NOT_FOUND " ></a >
16401640### ` ERR_MODULE_NOT_FOUND `
16411641
@@ -1862,6 +1862,12 @@ A string was provided for a Subresource Integrity check, but was unable to be
18621862parsed. Check the format of integrity attributes by looking at the
18631863[ Subresource Integrity specification] [ ] .
18641864
1865+ <a id =" ERR_STREAM_ALREADY_FINISHED " ></a >
1866+ ### ` ERR_STREAM_ALREADY_FINISHED `
1867+
1868+ A stream method was called that cannot complete because the stream was
1869+ finished.
1870+
18651871<a id =" ERR_STREAM_CANNOT_PIPE " ></a >
18661872### ` ERR_STREAM_CANNOT_PIPE `
18671873
@@ -1873,12 +1879,6 @@ An attempt was made to call [`stream.pipe()`][] on a [`Writable`][] stream.
18731879A stream method was called that cannot complete because the stream was
18741880destroyed using ` stream.destroy() ` .
18751881
1876- <a id =" ERR_STREAM_ALREADY_FINISHED " ></a >
1877- ### ` ERR_STREAM_ALREADY_FINISHED `
1878-
1879- A stream method was called that cannot complete because the stream was
1880- finished.
1881-
18821882<a id =" ERR_STREAM_NULL_VALUES " ></a >
18831883### ` ERR_STREAM_NULL_VALUES `
18841884
@@ -1968,17 +1968,6 @@ added: v13.3.0
19681968
19691969The context must be a ` SecureContext ` .
19701970
1971- <a id =" ERR_TLS_INVALID_STATE " ></a >
1972- ### ` ERR_TLS_INVALID_STATE `
1973- <!-- YAML
1974- added:
1975- - v13.10.0
1976- - v12.17.0
1977- -->
1978-
1979- The TLS socket must be connected and securily established. Ensure the 'secure'
1980- event is emitted before continuing.
1981-
19821971<a id =" ERR_TLS_INVALID_PROTOCOL_METHOD " ></a >
19831972### ` ERR_TLS_INVALID_PROTOCOL_METHOD `
19841973
@@ -1990,12 +1979,28 @@ disabled because it is insecure.
19901979
19911980Valid TLS protocol versions are ` 'TLSv1' ` , ` 'TLSv1.1' ` , or ` 'TLSv1.2' ` .
19921981
1982+ <a id =" ERR_TLS_INVALID_STATE " ></a >
1983+ ### ` ERR_TLS_INVALID_STATE `
1984+ <!-- YAML
1985+ added:
1986+ - v13.10.0
1987+ - v12.17.0
1988+ -->
1989+
1990+ The TLS socket must be connected and securily established. Ensure the 'secure'
1991+ event is emitted before continuing.
1992+
19931993<a id =" ERR_TLS_PROTOCOL_VERSION_CONFLICT " ></a >
19941994### ` ERR_TLS_PROTOCOL_VERSION_CONFLICT `
19951995
19961996Attempting to set a TLS protocol ` minVersion ` or ` maxVersion ` conflicts with an
19971997attempt to set the ` secureProtocol ` explicitly. Use one mechanism or the other.
19981998
1999+ <a id =" ERR_TLS_PSK_SET_IDENTIY_HINT_FAILED " ></a >
2000+ ### ` ERR_TLS_PSK_SET_IDENTIY_HINT_FAILED `
2001+
2002+ Failed to set PSK identity hint. Hint may be too long.
2003+
19992004<a id =" ERR_TLS_RENEGOTIATION_DISABLED " ></a >
20002005### ` ERR_TLS_RENEGOTIATION_DISABLED `
20012006
@@ -2019,11 +2024,6 @@ vector for denial-of-service attacks.
20192024An attempt was made to issue Server Name Indication from a TLS server-side
20202025socket, which is only valid from a client.
20212026
2022- <a id =" ERR_TLS_PSK_SET_IDENTIY_HINT_FAILED " ></a >
2023- ### ` ERR_TLS_PSK_SET_IDENTIY_HINT_FAILED `
2024-
2025- Failed to set PSK identity hint. Hint may be too long.
2026-
20272027<a id =" ERR_TRACE_EVENTS_CATEGORY_REQUIRED " ></a >
20282028### ` ERR_TRACE_EVENTS_CATEGORY_REQUIRED `
20292029
0 commit comments