| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 46a4154 commit 02db136
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -708,26 +708,26 @@ STDERR/STDOUT, and the data's length is longer than the `maxBuffer` option. | |||
| 708 | 708 | `Console` was instantiated without `stdout` stream, or `Console` has a | |
| 709 | 709 | non-writable `stdout` or `stderr` stream. | |
| 710 | 710 | ||
| 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 | + --> | ||
| 713 | 716 | ||
| 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. | ||
| 718 | 718 | ||
| 719 | 719 | <a id="ERR_CONSTRUCT_CALL_REQUIRED"></a> | |
| 720 | 720 | ### `ERR_CONSTRUCT_CALL_REQUIRED` | |
| 721 | 721 | ||
| 722 | 722 | A constructor for a class was called without `new`. | |
| 723 | 723 | ||
| 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` | ||
| 729 | 726 | ||
| 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. | ||
| 731 | 731 | ||
| 732 | 732 | <a id="ERR_CPU_USAGE"></a> | |
| 733 | 733 | ### `ERR_CPU_USAGE` | |
@@ -940,11 +940,6 @@ allowed size for a `Buffer`. | |||
| 940 | 940 | An invalid symlink type was passed to the [`fs.symlink()`][] or | |
| 941 | 941 | [`fs.symlinkSync()`][] methods. | |
| 942 | 942 | ||
| 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 | - | ||
| 948 | 943 | <a id="ERR_HTTP_HEADERS_SENT"></a> | |
| 949 | 944 | ### `ERR_HTTP_HEADERS_SENT` | |
| 950 | 945 | ||
@@ -1005,6 +1000,12 @@ A non-specific HTTP/2 error has occurred. | |||
| 1005 | 1000 | New HTTP/2 Streams may not be opened after the `Http2Session` has received a | |
| 1006 | 1001 | `GOAWAY` frame from the connected peer. | |
| 1007 | 1002 | ||
| 1003 | + <a id="ERR_HTTP2_HEADER_SINGLE_VALUE"></a> | ||
| 1004 | + ### `ERR_HTTP2_HEADER_SINGLE_VALUE` | ||
| 1005 | + | ||
| 1006 | + Multiple values were provided for an HTTP/2 header field that was required to | ||
| 1007 | + have only a single value. | ||
| 1008 | + | ||
| 1008 | 1009 | <a id="ERR_HTTP2_HEADERS_AFTER_RESPOND"></a> | |
| 1009 | 1010 | ### `ERR_HTTP2_HEADERS_AFTER_RESPOND` | |
| 1010 | 1011 | ||
@@ -1015,12 +1016,6 @@ An additional headers was specified after an HTTP/2 response was initiated. | |||
| 1015 | 1016 | ||
| 1016 | 1017 | An attempt was made to send multiple response headers. | |
| 1017 | 1018 | ||
| 1018 | - <a id="ERR_HTTP2_HEADER_SINGLE_VALUE"></a> | ||
| 1019 | - ### `ERR_HTTP2_HEADER_SINGLE_VALUE` | ||
| 1020 | - | ||
| 1021 | - Multiple values were provided for an HTTP/2 header field that was required to | ||
| 1022 | - have only a single value. | ||
| 1023 | - | ||
| 1024 | 1019 | <a id="ERR_HTTP2_INFO_STATUS_NOT_ALLOWED"></a> | |
| 1025 | 1020 | ### `ERR_HTTP2_INFO_STATUS_NOT_ALLOWED` | |
| 1026 | 1021 | ||
@@ -1221,12 +1216,6 @@ is set for the `Http2Stream`. | |||
| 1221 | 1216 | `http2.connect()` was passed a URL that uses any protocol other than `http:` or | |
| 1222 | 1217 | `https:`. | |
| 1223 | 1218 | ||
| 1224 | - <a id="ERR_INTERNAL_ASSERTION"></a> | ||
| 1225 | - ### `ERR_INTERNAL_ASSERTION` | ||
| 1226 | - | ||
| 1227 | - There was a bug in Node.js or incorrect usage of Node.js internals. | ||
| 1228 | - To fix the error, open an issue at <https://github.com/nodejs/node/issues>. | ||
| 1229 | - | ||
| 1230 | 1219 | <a id="ERR_INCOMPATIBLE_OPTION_PAIR"></a> | |
| 1231 | 1220 | ### `ERR_INCOMPATIBLE_OPTION_PAIR` | |
| 1232 | 1221 | ||
@@ -1287,6 +1276,12 @@ before it was connected. | |||
| 1287 | 1276 | An API was called on the main thread that can only be used from | |
| 1288 | 1277 | the worker thread. | |
| 1289 | 1278 | ||
| 1279 | + <a id="ERR_INTERNAL_ASSERTION"></a> | ||
| 1280 | + ### `ERR_INTERNAL_ASSERTION` | ||
| 1281 | + | ||
| 1282 | + There was a bug in Node.js or incorrect usage of Node.js internals. | ||
| 1283 | + To fix the error, open an issue at <https://github.com/nodejs/node/issues>. | ||
| 1284 | + | ||
| 1290 | 1285 | <a id="ERR_INVALID_ADDRESS_FAMILY"></a> | |
| 1291 | 1286 | ### `ERR_INVALID_ADDRESS_FAMILY` | |
| 1292 | 1287 | ||
@@ -1598,19 +1593,19 @@ strict compliance with the API specification (which in some cases may accept | |||
| 1598 | 1593 | `func(undefined)` and `func()` are treated identically, and the | |
| 1599 | 1594 | [`ERR_INVALID_ARG_TYPE`][] error code may be used instead. | |
| 1600 | 1595 | ||
| 1601 | - <a id="ERR_MISSING_OPTION"></a> | ||
| 1602 | - ### `ERR_MISSING_OPTION` | ||
| 1603 | - | ||
| 1604 | - For APIs that accept options objects, some options might be mandatory. This code | ||
| 1605 | - is thrown if a required option is missing. | ||
| 1606 | - | ||
| 1607 | 1596 | <a id="ERR_MISSING_MESSAGE_PORT_IN_TRANSFER_LIST"></a> | |
| 1608 | 1597 | ### `ERR_MISSING_MESSAGE_PORT_IN_TRANSFER_LIST` | |
| 1609 | 1598 | ||
| 1610 | 1599 | An object that needs to be explicitly listed in the `transferList` argument | |
| 1611 | 1600 | is in the object passed to a `postMessage()` call, but is not provided | |
| 1612 | 1601 | in the `transferList` for that call. Usually, this is a `MessagePort`. | |
| 1613 | 1602 | ||
| 1603 | + <a id="ERR_MISSING_OPTION"></a> | ||
| 1604 | + ### `ERR_MISSING_OPTION` | ||
| 1605 | + | ||
| 1606 | + For APIs that accept options objects, some options might be mandatory. This code | ||
| 1607 | + is thrown if a required option is missing. | ||
| 1608 | + | ||
| 1614 | 1609 | <a id="ERR_MISSING_PASSPHRASE"></a> | |
| 1615 | 1610 | ### `ERR_MISSING_PASSPHRASE` | |
| 1616 | 1611 | ||
@@ -1818,6 +1813,12 @@ A string was provided for a Subresource Integrity check, but was unable to be | |||
| 1818 | 1813 | parsed. Check the format of integrity attributes by looking at the | |
| 1819 | 1814 | [Subresource Integrity specification][]. | |
| 1820 | 1815 | ||
| 1816 | + <a id="ERR_STREAM_ALREADY_FINISHED"></a> | ||
| 1817 | + ### `ERR_STREAM_ALREADY_FINISHED` | ||
| 1818 | + | ||
| 1819 | + A stream method was called that cannot complete because the stream was | ||
| 1820 | + finished. | ||
| 1821 | + | ||
| 1821 | 1822 | <a id="ERR_STREAM_CANNOT_PIPE"></a> | |
| 1822 | 1823 | ### `ERR_STREAM_CANNOT_PIPE` | |
| 1823 | 1824 | ||
@@ -1829,12 +1830,6 @@ An attempt was made to call [`stream.pipe()`][] on a [`Writable`][] stream. | |||
| 1829 | 1830 | A stream method was called that cannot complete because the stream was | |
| 1830 | 1831 | destroyed using `stream.destroy()`. | |
| 1831 | 1832 | ||
| 1832 | - <a id="ERR_STREAM_ALREADY_FINISHED"></a> | ||
| 1833 | - ### `ERR_STREAM_ALREADY_FINISHED` | ||
| 1834 | - | ||
| 1835 | - A stream method was called that cannot complete because the stream was | ||
| 1836 | - finished. | ||
| 1837 | - | ||
| 1838 | 1833 | <a id="ERR_STREAM_NULL_VALUES"></a> | |
| 1839 | 1834 | ### `ERR_STREAM_NULL_VALUES` | |
| 1840 | 1835 | ||
@@ -1924,15 +1919,6 @@ added: v13.3.0 | |||
| 1924 | 1919 | ||
| 1925 | 1920 | The context must be a `SecureContext`. | |
| 1926 | 1921 | ||
| 1927 | - <a id="ERR_TLS_INVALID_STATE"></a> | ||
| 1928 | - ### `ERR_TLS_INVALID_STATE` | ||
| 1929 | - <!-- YAML | ||
| 1930 | - added: v13.10.0 | ||
| 1931 | - --> | ||
| 1932 | - | ||
| 1933 | - The TLS socket must be connected and securily established. Ensure the 'secure' | ||
| 1934 | - event is emitted before continuing. | ||
| 1935 | - | ||
| 1936 | 1922 | <a id="ERR_TLS_INVALID_PROTOCOL_METHOD"></a> | |
| 1937 | 1923 | ### `ERR_TLS_INVALID_PROTOCOL_METHOD` | |
| 1938 | 1924 | ||
@@ -1944,12 +1930,28 @@ disabled because it is insecure. | |||
| 1944 | 1930 | ||
| 1945 | 1931 | Valid TLS protocol versions are `'TLSv1'`, `'TLSv1.1'`, or `'TLSv1.2'`. | |
| 1946 | 1932 | ||
| 1933 | + <a id="ERR_TLS_INVALID_STATE"></a> | ||
| 1934 | + ### `ERR_TLS_INVALID_STATE` | ||
| 1935 | + <!-- YAML | ||
| 1936 | + added: | ||
| 1937 | + - v13.10.0 | ||
| 1938 | + - v12.17.0 | ||
| 1939 | + --> | ||
| 1940 | + | ||
| 1941 | + The TLS socket must be connected and securily established. Ensure the 'secure' | ||
| 1942 | + event is emitted before continuing. | ||
| 1943 | + | ||
| 1947 | 1944 | <a id="ERR_TLS_PROTOCOL_VERSION_CONFLICT"></a> | |
| 1948 | 1945 | ### `ERR_TLS_PROTOCOL_VERSION_CONFLICT` | |
| 1949 | 1946 | ||
| 1950 | 1947 | Attempting to set a TLS protocol `minVersion` or `maxVersion` conflicts with an | |
| 1951 | 1948 | attempt to set the `secureProtocol` explicitly. Use one mechanism or the other. | |
| 1952 | 1949 | ||
| 1950 | + <a id="ERR_TLS_PSK_SET_IDENTIY_HINT_FAILED"></a> | ||
| 1951 | + ### `ERR_TLS_PSK_SET_IDENTIY_HINT_FAILED` | ||
| 1952 | + | ||
| 1953 | + Failed to set PSK identity hint. Hint may be too long. | ||
| 1954 | + | ||
| 1953 | 1955 | <a id="ERR_TLS_RENEGOTIATION_DISABLED"></a> | |
| 1954 | 1956 | ### `ERR_TLS_RENEGOTIATION_DISABLED` | |
| 1955 | 1957 | ||
@@ -1973,11 +1975,6 @@ vector for denial-of-service attacks. | |||
| 1973 | 1975 | An attempt was made to issue Server Name Indication from a TLS server-side | |
| 1974 | 1976 | socket, which is only valid from a client. | |
| 1975 | 1977 | ||
| 1976 | - <a id="ERR_TLS_PSK_SET_IDENTIY_HINT_FAILED"></a> | ||
| 1977 | - ### `ERR_TLS_PSK_SET_IDENTIY_HINT_FAILED` | ||
| 1978 | - | ||
| 1979 | - Failed to set PSK identity hint. Hint may be too long. | ||
| 1980 | - | ||
| 1981 | 1978 | <a id="ERR_TRACE_EVENTS_CATEGORY_REQUIRED"></a> | |
| 1982 | 1979 | ### `ERR_TRACE_EVENTS_CATEGORY_REQUIRED` | |
| 1983 | 1980 | ||
@@ -2332,6 +2329,11 @@ removed: v10.0.0 | |||
| 2332 | 2329 | Used when an invalid character is found in an HTTP response status message | |
| 2333 | 2330 | (reason phrase). | |
| 2334 | 2331 | ||
| 2332 | + <a id="ERR_HTTP_REQUEST_TIMEOUT"></a> | ||
| 2333 | + ### `ERR_HTTP_REQUEST_TIMEOUT` | ||
| 2334 | + | ||
| 2335 | + The client has not sent the entire request within the allowed time. | ||
| 2336 | + | ||
| 2335 | 2337 | <a id="ERR_INDEX_OUT_OF_RANGE"></a> | |
| 2336 | 2338 | ### `ERR_INDEX_OUT_OF_RANGE` | |
| 2337 | 2339 | <!-- YAML | |
| Back | FazBrowse Home | New Git URL |
0 commit comments