@idlebox/node 1.4.1 → 1.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/child_process/execa.cjs +2 -2
- package/lib/cjs/child_process/execa.cjs.map +1 -1
- package/lib/cjs/child_process/lateError.cjs +5 -5
- package/lib/cjs/child_process/lateError.cjs.map +1 -1
- package/lib/cjs/child_process/respawn.cjs +4 -4
- package/lib/cjs/child_process/respawn.cjs.map +1 -1
- package/lib/cjs/environment/findBinary.cjs +4 -4
- package/lib/cjs/environment/findBinary.cjs.map +1 -1
- package/lib/cjs/environment/npmConfig.cjs +2 -2
- package/lib/cjs/environment/npmConfig.cjs.map +1 -1
- package/lib/cjs/environment/pathEnvironment.cjs +3 -3
- package/lib/cjs/environment/pathEnvironment.cjs.map +1 -1
- package/lib/cjs/error/nodejs-error-code.generated.cjs +268 -217
- package/lib/cjs/error/nodejs-error-code.generated.cjs.map +1 -1
- package/lib/cjs/error/types.cjs +6 -6
- package/lib/cjs/error/types.cjs.map +1 -1
- package/lib/cjs/fs/commandExists.cjs +3 -3
- package/lib/cjs/fs/commandExists.cjs.map +1 -1
- package/lib/cjs/fs/exists.cjs +3 -3
- package/lib/cjs/fs/exists.cjs.map +1 -1
- package/lib/cjs/fs/tempFolder.cjs +2 -2
- package/lib/cjs/fs/tempFolder.cjs.map +1 -1
- package/lib/cjs/fs/weiteChanged.cjs +3 -3
- package/lib/cjs/fs/weiteChanged.cjs.map +1 -1
- package/lib/cjs/path-resolve/findPackageRoot.cjs +2 -2
- package/lib/cjs/path-resolve/findPackageRoot.cjs.map +1 -1
- package/lib/cjs/path-resolve/findUp.cjs +5 -5
- package/lib/cjs/path-resolve/findUp.cjs.map +1 -1
- package/lib/cjs/stream/collectingStream.cjs +3 -3
- package/lib/cjs/stream/collectingStream.cjs.map +1 -1
- package/lib/cjs/stream/streamPromise.cjs +5 -4
- package/lib/cjs/stream/streamPromise.cjs.map +1 -1
- package/lib/esm/__virtual_tsconfig.tsbuildinfo +1 -1
- package/lib/esm/child_process/execa.js +1 -1
- package/lib/esm/child_process/execa.js.map +1 -1
- package/lib/esm/child_process/lateError.js +2 -2
- package/lib/esm/child_process/lateError.js.map +1 -1
- package/lib/esm/child_process/respawn.js +2 -2
- package/lib/esm/child_process/respawn.js.map +1 -1
- package/lib/esm/environment/findBinary.js +2 -2
- package/lib/esm/environment/findBinary.js.map +1 -1
- package/lib/esm/environment/npmConfig.js +1 -1
- package/lib/esm/environment/npmConfig.js.map +1 -1
- package/lib/esm/environment/pathEnvironment.js +1 -1
- package/lib/esm/environment/pathEnvironment.js.map +1 -1
- package/lib/esm/error/nodejs-error-code.generated.d.ts +269 -218
- package/lib/esm/error/nodejs-error-code.generated.d.ts.map +1 -1
- package/lib/esm/error/nodejs-error-code.generated.js +268 -217
- package/lib/esm/error/nodejs-error-code.generated.js.map +1 -1
- package/lib/esm/error/types.d.ts +2 -2
- package/lib/esm/error/types.d.ts.map +1 -1
- package/lib/esm/error/types.js +2 -2
- package/lib/esm/error/types.js.map +1 -1
- package/lib/esm/fs/commandExists.js +1 -1
- package/lib/esm/fs/commandExists.js.map +1 -1
- package/lib/esm/fs/exists.js +1 -1
- package/lib/esm/fs/exists.js.map +1 -1
- package/lib/esm/fs/tempFolder.js +1 -1
- package/lib/esm/fs/tempFolder.js.map +1 -1
- package/lib/esm/fs/weiteChanged.js +1 -1
- package/lib/esm/fs/weiteChanged.js.map +1 -1
- package/lib/esm/path-resolve/findPackageRoot.js +1 -1
- package/lib/esm/path-resolve/findPackageRoot.js.map +1 -1
- package/lib/esm/path-resolve/findUp.js +1 -1
- package/lib/esm/path-resolve/findUp.js.map +1 -1
- package/lib/esm/stream/collectingStream.d.ts +1 -1
- package/lib/esm/stream/collectingStream.js +1 -1
- package/lib/esm/stream/collectingStream.js.map +1 -1
- package/lib/esm/stream/streamPromise.d.ts.map +1 -1
- package/lib/esm/stream/streamPromise.js +5 -4
- package/lib/esm/stream/streamPromise.js.map +1 -1
- package/package.json +6 -6
- package/src/child_process/execa.ts +1 -1
- package/src/child_process/lateError.ts +2 -2
- package/src/child_process/respawn.ts +2 -2
- package/src/environment/findBinary.ts +2 -2
- package/src/environment/npmConfig.ts +1 -1
- package/src/environment/pathEnvironment.ts +1 -1
- package/src/error/cache.generated.json +467 -323
- package/src/error/nodejs-error-code.generated.ts +268 -218
- package/src/error/nodejs-error-code.generator.ts +1 -1
- package/src/error/types.ts +2 -2
- package/src/fs/commandExists.ts +1 -1
- package/src/fs/exists.ts +1 -1
- package/src/fs/tempFolder.ts +1 -1
- package/src/fs/weiteChanged.ts +1 -1
- package/src/path-resolve/findPackageRoot.ts +1 -1
- package/src/path-resolve/findUp.ts +1 -1
- package/src/stream/collectingStream.ts +1 -1
- package/src/stream/streamPromise.ts +5 -4
|
@@ -223,14 +223,9 @@ export declare enum NodeError {
|
|
|
223
223
|
ERR_CRYPTO_INVALID_IV = "ERR_CRYPTO_INVALID_IV",
|
|
224
224
|
/**
|
|
225
225
|
* <p>An invalid JSON Web Key was provided.</p>
|
|
226
|
-
* <p><a id="ERR_CRYPTO_INVALID_KEY_OBJECT_TYPE"></a></p>
|
|
227
|
-
*/
|
|
228
|
-
ERR_CRYPTO_INVALID_JWK = "ERR_CRYPTO_INVALID_JWK",
|
|
229
|
-
/**
|
|
230
|
-
* <p>The given crypto key object's type is invalid for the attempted operation.</p>
|
|
231
226
|
* <p><a id="ERR_CRYPTO_INVALID_KEYLEN"></a></p>
|
|
232
227
|
*/
|
|
233
|
-
|
|
228
|
+
ERR_CRYPTO_INVALID_JWK = "ERR_CRYPTO_INVALID_JWK",
|
|
234
229
|
/**
|
|
235
230
|
* <p>An invalid key length was provided.</p>
|
|
236
231
|
* <p><a id="ERR_CRYPTO_INVALID_KEYPAIR"></a></p>
|
|
@@ -243,16 +238,22 @@ export declare enum NodeError {
|
|
|
243
238
|
ERR_CRYPTO_INVALID_KEYPAIR = "ERR_CRYPTO_INVALID_KEYPAIR",
|
|
244
239
|
/**
|
|
245
240
|
* <p>An invalid key type was provided.</p>
|
|
246
|
-
* <p><a id="
|
|
241
|
+
* <p><a id="ERR_CRYPTO_INVALID_KEY_OBJECT_TYPE"></a></p>
|
|
247
242
|
*/
|
|
248
243
|
ERR_CRYPTO_INVALID_KEYTYPE = "ERR_CRYPTO_INVALID_KEYTYPE",
|
|
244
|
+
/**
|
|
245
|
+
* <p>The given crypto key object's type is invalid for the attempted operation.</p>
|
|
246
|
+
* <p><a id="ERR_CRYPTO_INVALID_MESSAGELEN"></a></p>
|
|
247
|
+
*/
|
|
248
|
+
ERR_CRYPTO_INVALID_KEY_OBJECT_TYPE = "ERR_CRYPTO_INVALID_KEY_OBJECT_TYPE",
|
|
249
249
|
/**
|
|
250
250
|
* <p>An invalid message length was provided.</p>
|
|
251
251
|
* <p><a id="ERR_CRYPTO_INVALID_SCRYPT_PARAMS"></a></p>
|
|
252
252
|
*/
|
|
253
253
|
ERR_CRYPTO_INVALID_MESSAGELEN = "ERR_CRYPTO_INVALID_MESSAGELEN",
|
|
254
254
|
/**
|
|
255
|
-
* <p>
|
|
255
|
+
* <p>One or more <a href="crypto.html#cryptoscryptpassword-salt-keylen-options-callback"><code>crypto.scrypt()</code></a> or <a href="crypto.html#cryptoscryptsyncpassword-salt-keylen-options"><code>crypto.scryptSync()</code></a> parameters are
|
|
256
|
+
* outside their legal range.</p>
|
|
256
257
|
* <p><a id="ERR_CRYPTO_INVALID_STATE"></a></p>
|
|
257
258
|
*/
|
|
258
259
|
ERR_CRYPTO_INVALID_SCRYPT_PARAMS = "ERR_CRYPTO_INVALID_SCRYPT_PARAMS",
|
|
@@ -292,15 +293,9 @@ export declare enum NodeError {
|
|
|
292
293
|
/**
|
|
293
294
|
* <p>The PBKDF2 algorithm failed for unspecified reasons. OpenSSL does not provide
|
|
294
295
|
* more details and therefore neither does Node.js.</p>
|
|
295
|
-
* <p><a id="ERR_CRYPTO_SCRYPT_INVALID_PARAMETER"></a></p>
|
|
296
|
-
*/
|
|
297
|
-
ERR_CRYPTO_PBKDF2_ERROR = "ERR_CRYPTO_PBKDF2_ERROR",
|
|
298
|
-
/**
|
|
299
|
-
* <p>One or more <a href="crypto.html#cryptoscryptpassword-salt-keylen-options-callback"><code>crypto.scrypt()</code></a> or <a href="crypto.html#cryptoscryptsyncpassword-salt-keylen-options"><code>crypto.scryptSync()</code></a> parameters are
|
|
300
|
-
* outside their legal range.</p>
|
|
301
296
|
* <p><a id="ERR_CRYPTO_SCRYPT_NOT_SUPPORTED"></a></p>
|
|
302
297
|
*/
|
|
303
|
-
|
|
298
|
+
ERR_CRYPTO_PBKDF2_ERROR = "ERR_CRYPTO_PBKDF2_ERROR",
|
|
304
299
|
/**
|
|
305
300
|
* <p>Node.js was compiled without <code>scrypt</code> support. Not possible with the official
|
|
306
301
|
* release binaries but can happen with custom builds, including distro builds.</p>
|
|
@@ -341,19 +336,9 @@ export declare enum NodeError {
|
|
|
341
336
|
ERR_DEBUGGER_ERROR = "ERR_DEBUGGER_ERROR",
|
|
342
337
|
/**
|
|
343
338
|
* <p>The <a href="debugger.html">debugger</a> timed out waiting for the required host/port to be free.</p>
|
|
344
|
-
* <p><a id="ERR_DLOPEN_DISABLED"></a></p>
|
|
345
|
-
*/
|
|
346
|
-
ERR_DEBUGGER_STARTUP_ERROR = "ERR_DEBUGGER_STARTUP_ERROR",
|
|
347
|
-
/**
|
|
348
|
-
* <p>Loading native addons has been disabled using <a href="cli.html#--no-addons"><code>--no-addons</code></a>.</p>
|
|
349
|
-
* <p><a id="ERR_DLOPEN_FAILED"></a></p>
|
|
350
|
-
*/
|
|
351
|
-
ERR_DLOPEN_DISABLED = "ERR_DLOPEN_DISABLED",
|
|
352
|
-
/**
|
|
353
|
-
* <p>A call to <code>process.dlopen()</code> failed.</p>
|
|
354
339
|
* <p><a id="ERR_DIR_CLOSED"></a></p>
|
|
355
340
|
*/
|
|
356
|
-
|
|
341
|
+
ERR_DEBUGGER_STARTUP_ERROR = "ERR_DEBUGGER_STARTUP_ERROR",
|
|
357
342
|
/**
|
|
358
343
|
* <p>The <a href="fs.html#class-fsdir"><code>fs.Dir</code></a> was previously closed.</p>
|
|
359
344
|
* <p><a id="ERR_DIR_CONCURRENT_OPERATION"></a></p>
|
|
@@ -362,9 +347,19 @@ export declare enum NodeError {
|
|
|
362
347
|
/**
|
|
363
348
|
* <p>A synchronous read or close call was attempted on an <a href="fs.html#class-fsdir"><code>fs.Dir</code></a> which has
|
|
364
349
|
* ongoing asynchronous operations.</p>
|
|
365
|
-
* <p><a id="
|
|
350
|
+
* <p><a id="ERR_DLOPEN_DISABLED"></a></p>
|
|
366
351
|
*/
|
|
367
352
|
ERR_DIR_CONCURRENT_OPERATION = "ERR_DIR_CONCURRENT_OPERATION",
|
|
353
|
+
/**
|
|
354
|
+
* <p>Loading native addons has been disabled using <a href="cli.html#--no-addons"><code>--no-addons</code></a>.</p>
|
|
355
|
+
* <p><a id="ERR_DLOPEN_FAILED"></a></p>
|
|
356
|
+
*/
|
|
357
|
+
ERR_DLOPEN_DISABLED = "ERR_DLOPEN_DISABLED",
|
|
358
|
+
/**
|
|
359
|
+
* <p>A call to <code>process.dlopen()</code> failed.</p>
|
|
360
|
+
* <p><a id="ERR_DNS_SET_SERVERS_FAILED"></a></p>
|
|
361
|
+
*/
|
|
362
|
+
ERR_DLOPEN_FAILED = "ERR_DLOPEN_FAILED",
|
|
368
363
|
/**
|
|
369
364
|
* <p><code>c-ares</code> failed to set the DNS server.</p>
|
|
370
365
|
* <p><a id="ERR_DOMAIN_CALLBACK_NOT_AVAILABLE"></a></p>
|
|
@@ -450,16 +445,6 @@ export declare enum NodeError {
|
|
|
450
445
|
* <p><a id="ERR_FS_CP_FIFO_PIPE"></a></p>
|
|
451
446
|
*/
|
|
452
447
|
ERR_FS_CP_EINVAL = "ERR_FS_CP_EINVAL",
|
|
453
|
-
/**
|
|
454
|
-
* <p>An error is thrown when writing to an HTTP response which does not allow
|
|
455
|
-
* contents. <a id="ERR_HTTP_BODY_NOT_ALLOWED"></a></p>
|
|
456
|
-
*/
|
|
457
|
-
ERR_HTTP_BODY_NOT_ALLOWED = "ERR_HTTP_BODY_NOT_ALLOWED",
|
|
458
|
-
/**
|
|
459
|
-
* <p>Response body size doesn't match with the specified content-length header value.</p>
|
|
460
|
-
* <p><a id="ERR_HTTP_CONTENT_LENGTH_MISMATCH"></a></p>
|
|
461
|
-
*/
|
|
462
|
-
ERR_HTTP_CONTENT_LENGTH_MISMATCH = "ERR_HTTP_CONTENT_LENGTH_MISMATCH",
|
|
463
448
|
/**
|
|
464
449
|
* <p>An attempt was made to copy a named pipe with <a href="fs.html#fscpsrc-dest-options-callback"><code>fs.cp()</code></a>.</p>
|
|
465
450
|
* <p><a id="ERR_FS_CP_NON_DIR_TO_DIR"></a></p>
|
|
@@ -495,51 +480,9 @@ export declare enum NodeError {
|
|
|
495
480
|
/**
|
|
496
481
|
* <p>An attempt has been made to read a file whose size is larger than the maximum
|
|
497
482
|
* allowed size for a <code>Buffer</code>.</p>
|
|
498
|
-
* <p><a id="ERR_FS_INVALID_SYMLINK_TYPE"></a></p>
|
|
499
|
-
*/
|
|
500
|
-
ERR_FS_FILE_TOO_LARGE = "ERR_FS_FILE_TOO_LARGE",
|
|
501
|
-
/**
|
|
502
|
-
* <p>An invalid symlink type was passed to the <a href="fs.html#fssymlinktarget-path-type-callback"><code>fs.symlink()</code></a> or
|
|
503
|
-
* <a href="fs.html#fssymlinksynctarget-path-type"><code>fs.symlinkSync()</code></a> methods.</p>
|
|
504
|
-
* <p><a id="ERR_HTTP_HEADERS_SENT"></a></p>
|
|
505
|
-
*/
|
|
506
|
-
ERR_FS_INVALID_SYMLINK_TYPE = "ERR_FS_INVALID_SYMLINK_TYPE",
|
|
507
|
-
/**
|
|
508
|
-
* <p>An attempt was made to add more headers after the headers had already been sent.</p>
|
|
509
|
-
* <p><a id="ERR_HTTP_INVALID_HEADER_VALUE"></a></p>
|
|
510
|
-
*/
|
|
511
|
-
ERR_HTTP_HEADERS_SENT = "ERR_HTTP_HEADERS_SENT",
|
|
512
|
-
/**
|
|
513
|
-
* <p>An invalid HTTP header value was specified.</p>
|
|
514
|
-
* <p><a id="ERR_HTTP_INVALID_STATUS_CODE"></a></p>
|
|
515
|
-
*/
|
|
516
|
-
ERR_HTTP_INVALID_HEADER_VALUE = "ERR_HTTP_INVALID_HEADER_VALUE",
|
|
517
|
-
/**
|
|
518
|
-
* <p>Status code was outside the regular status code range (100-999).</p>
|
|
519
|
-
* <p><a id="ERR_HTTP_REQUEST_TIMEOUT"></a></p>
|
|
520
|
-
*/
|
|
521
|
-
ERR_HTTP_INVALID_STATUS_CODE = "ERR_HTTP_INVALID_STATUS_CODE",
|
|
522
|
-
/**
|
|
523
|
-
* <p>The client has not sent the entire request within the allowed time.</p>
|
|
524
|
-
* <p><a id="ERR_HTTP_SOCKET_ASSIGNED"></a></p>
|
|
525
|
-
*/
|
|
526
|
-
ERR_HTTP_REQUEST_TIMEOUT = "ERR_HTTP_REQUEST_TIMEOUT",
|
|
527
|
-
/**
|
|
528
|
-
* <p>The given <a href="http.html#class-httpserverresponse"><code>ServerResponse</code></a> was already assigned a socket.</p>
|
|
529
|
-
* <p><a id="ERR_HTTP_SOCKET_ENCODING"></a></p>
|
|
530
|
-
*/
|
|
531
|
-
ERR_HTTP_SOCKET_ASSIGNED = "ERR_HTTP_SOCKET_ASSIGNED",
|
|
532
|
-
/**
|
|
533
|
-
* <p>Changing the socket encoding is not allowed per <a href="https://tools.ietf.org/html/rfc7230#section-3">RFC 7230 Section 3</a>.</p>
|
|
534
|
-
* <p><a id="ERR_HTTP_TRAILER_INVALID"></a></p>
|
|
535
|
-
*/
|
|
536
|
-
ERR_HTTP_SOCKET_ENCODING = "ERR_HTTP_SOCKET_ENCODING",
|
|
537
|
-
/**
|
|
538
|
-
* <p>The <code>Trailer</code> header was set even though the transfer encoding does not support
|
|
539
|
-
* that.</p>
|
|
540
483
|
* <p><a id="ERR_HTTP2_ALTSVC_INVALID_ORIGIN"></a></p>
|
|
541
484
|
*/
|
|
542
|
-
|
|
485
|
+
ERR_FS_FILE_TOO_LARGE = "ERR_FS_FILE_TOO_LARGE",
|
|
543
486
|
/**
|
|
544
487
|
* <p>HTTP/2 ALTSVC frames require a valid origin.</p>
|
|
545
488
|
* <p><a id="ERR_HTTP2_ALTSVC_LENGTH"></a></p>
|
|
@@ -576,15 +519,9 @@ export declare enum NodeError {
|
|
|
576
519
|
/**
|
|
577
520
|
* <p>New HTTP/2 Streams may not be opened after the <code>Http2Session</code> has received a
|
|
578
521
|
* <code>GOAWAY</code> frame from the connected peer.</p>
|
|
579
|
-
* <p><a id="ERR_HTTP2_HEADER_SINGLE_VALUE"></a></p>
|
|
580
|
-
*/
|
|
581
|
-
ERR_HTTP2_GOAWAY_SESSION = "ERR_HTTP2_GOAWAY_SESSION",
|
|
582
|
-
/**
|
|
583
|
-
* <p>Multiple values were provided for an HTTP/2 header field that was required to
|
|
584
|
-
* have only a single value.</p>
|
|
585
522
|
* <p><a id="ERR_HTTP2_HEADERS_AFTER_RESPOND"></a></p>
|
|
586
523
|
*/
|
|
587
|
-
|
|
524
|
+
ERR_HTTP2_GOAWAY_SESSION = "ERR_HTTP2_GOAWAY_SESSION",
|
|
588
525
|
/**
|
|
589
526
|
* <p>An additional headers was specified after an HTTP/2 response was initiated.</p>
|
|
590
527
|
* <p><a id="ERR_HTTP2_HEADERS_SENT"></a></p>
|
|
@@ -592,9 +529,15 @@ export declare enum NodeError {
|
|
|
592
529
|
ERR_HTTP2_HEADERS_AFTER_RESPOND = "ERR_HTTP2_HEADERS_AFTER_RESPOND",
|
|
593
530
|
/**
|
|
594
531
|
* <p>An attempt was made to send multiple response headers.</p>
|
|
595
|
-
* <p><a id="
|
|
532
|
+
* <p><a id="ERR_HTTP2_HEADER_SINGLE_VALUE"></a></p>
|
|
596
533
|
*/
|
|
597
534
|
ERR_HTTP2_HEADERS_SENT = "ERR_HTTP2_HEADERS_SENT",
|
|
535
|
+
/**
|
|
536
|
+
* <p>Multiple values were provided for an HTTP/2 header field that was required to
|
|
537
|
+
* have only a single value.</p>
|
|
538
|
+
* <p><a id="ERR_HTTP2_INFO_STATUS_NOT_ALLOWED"></a></p>
|
|
539
|
+
*/
|
|
540
|
+
ERR_HTTP2_HEADER_SINGLE_VALUE = "ERR_HTTP2_HEADER_SINGLE_VALUE",
|
|
598
541
|
/**
|
|
599
542
|
* <p>Informational HTTP status codes (<code>1xx</code>) may not be set as the response status
|
|
600
543
|
* code on HTTP/2 responses.</p>
|
|
@@ -808,25 +751,72 @@ export declare enum NodeError {
|
|
|
808
751
|
/**
|
|
809
752
|
* <p><code>http2.connect()</code> was passed a URL that uses any protocol other than <code>http:</code> or
|
|
810
753
|
* <code>https:</code>.</p>
|
|
811
|
-
* <p><a id="
|
|
754
|
+
* <p><a id="ERR_HTTP_BODY_NOT_ALLOWED"></a></p>
|
|
812
755
|
*/
|
|
813
756
|
ERR_HTTP2_UNSUPPORTED_PROTOCOL = "ERR_HTTP2_UNSUPPORTED_PROTOCOL",
|
|
814
757
|
/**
|
|
815
|
-
* <p>An
|
|
816
|
-
*
|
|
758
|
+
* <p>An error is thrown when writing to an HTTP response which does not allow
|
|
759
|
+
* contents.</p>
|
|
760
|
+
* <p><a id="ERR_HTTP_CONTENT_LENGTH_MISMATCH"></a></p>
|
|
817
761
|
*/
|
|
818
|
-
|
|
762
|
+
ERR_HTTP_BODY_NOT_ALLOWED = "ERR_HTTP_BODY_NOT_ALLOWED",
|
|
819
763
|
/**
|
|
820
|
-
* <p>
|
|
821
|
-
*
|
|
764
|
+
* <p>Response body size doesn't match with the specified content-length header value.</p>
|
|
765
|
+
* <p><a id="ERR_HTTP_HEADERS_SENT"></a></p>
|
|
766
|
+
*/
|
|
767
|
+
ERR_HTTP_CONTENT_LENGTH_MISMATCH = "ERR_HTTP_CONTENT_LENGTH_MISMATCH",
|
|
768
|
+
/**
|
|
769
|
+
* <p>An attempt was made to add more headers after the headers had already been sent.</p>
|
|
770
|
+
* <p><a id="ERR_HTTP_INVALID_HEADER_VALUE"></a></p>
|
|
771
|
+
*/
|
|
772
|
+
ERR_HTTP_HEADERS_SENT = "ERR_HTTP_HEADERS_SENT",
|
|
773
|
+
/**
|
|
774
|
+
* <p>An invalid HTTP header value was specified.</p>
|
|
775
|
+
* <p><a id="ERR_HTTP_INVALID_STATUS_CODE"></a></p>
|
|
776
|
+
*/
|
|
777
|
+
ERR_HTTP_INVALID_HEADER_VALUE = "ERR_HTTP_INVALID_HEADER_VALUE",
|
|
778
|
+
/**
|
|
779
|
+
* <p>Status code was outside the regular status code range (100-999).</p>
|
|
780
|
+
* <p><a id="ERR_HTTP_REQUEST_TIMEOUT"></a></p>
|
|
781
|
+
*/
|
|
782
|
+
ERR_HTTP_INVALID_STATUS_CODE = "ERR_HTTP_INVALID_STATUS_CODE",
|
|
783
|
+
/**
|
|
784
|
+
* <p>The client has not sent the entire request within the allowed time.</p>
|
|
785
|
+
* <p><a id="ERR_HTTP_SOCKET_ASSIGNED"></a></p>
|
|
786
|
+
*/
|
|
787
|
+
ERR_HTTP_REQUEST_TIMEOUT = "ERR_HTTP_REQUEST_TIMEOUT",
|
|
788
|
+
/**
|
|
789
|
+
* <p>The given <a href="http.html#class-httpserverresponse"><code>ServerResponse</code></a> was already assigned a socket.</p>
|
|
790
|
+
* <p><a id="ERR_HTTP_SOCKET_ENCODING"></a></p>
|
|
791
|
+
*/
|
|
792
|
+
ERR_HTTP_SOCKET_ASSIGNED = "ERR_HTTP_SOCKET_ASSIGNED",
|
|
793
|
+
/**
|
|
794
|
+
* <p>Changing the socket encoding is not allowed per <a href="https://tools.ietf.org/html/rfc7230#section-3">RFC 7230 Section 3</a>.</p>
|
|
795
|
+
* <p><a id="ERR_HTTP_TRAILER_INVALID"></a></p>
|
|
796
|
+
*/
|
|
797
|
+
ERR_HTTP_SOCKET_ENCODING = "ERR_HTTP_SOCKET_ENCODING",
|
|
798
|
+
/**
|
|
799
|
+
* <p>The <code>Trailer</code> header was set even though the transfer encoding does not support
|
|
800
|
+
* that.</p>
|
|
801
|
+
* <p><a id="ERR_ILLEGAL_CONSTRUCTOR"></a></p>
|
|
802
|
+
*/
|
|
803
|
+
ERR_HTTP_TRAILER_INVALID = "ERR_HTTP_TRAILER_INVALID",
|
|
804
|
+
/**
|
|
805
|
+
* <p>An attempt was made to construct an object using a non-public constructor.</p>
|
|
822
806
|
* <p><a id="ERR_IMPORT_ATTRIBUTE_MISSING"></a></p>
|
|
823
807
|
*/
|
|
824
|
-
|
|
808
|
+
ERR_ILLEGAL_CONSTRUCTOR = "ERR_ILLEGAL_CONSTRUCTOR",
|
|
825
809
|
/**
|
|
826
810
|
* <p>An import attribute is missing, preventing the specified module to be imported.</p>
|
|
827
|
-
* <p><a id="
|
|
811
|
+
* <p><a id="ERR_IMPORT_ATTRIBUTE_TYPE_INCOMPATIBLE"></a></p>
|
|
828
812
|
*/
|
|
829
813
|
ERR_IMPORT_ATTRIBUTE_MISSING = "ERR_IMPORT_ATTRIBUTE_MISSING",
|
|
814
|
+
/**
|
|
815
|
+
* <p>An import <code>type</code> attribute was provided, but the specified module is of a
|
|
816
|
+
* different type.</p>
|
|
817
|
+
* <p><a id="ERR_IMPORT_ATTRIBUTE_UNSUPPORTED"></a></p>
|
|
818
|
+
*/
|
|
819
|
+
ERR_IMPORT_ATTRIBUTE_TYPE_INCOMPATIBLE = "ERR_IMPORT_ATTRIBUTE_TYPE_INCOMPATIBLE",
|
|
830
820
|
/**
|
|
831
821
|
* <p>An import attribute is not supported by this version of Node.js.</p>
|
|
832
822
|
* <p><a id="ERR_INCOMPATIBLE_OPTION_PAIR"></a></p>
|
|
@@ -1012,15 +1002,9 @@ export declare enum NodeError {
|
|
|
1012
1002
|
/**
|
|
1013
1003
|
* <p>The <code>package.json</code> <a href="packages.html#exports"><code>"exports"</code></a> field contains an invalid target mapping
|
|
1014
1004
|
* value for the attempted module resolution.</p>
|
|
1015
|
-
* <p><a id="ERR_INVALID_PERFORMANCE_MARK"></a></p>
|
|
1016
|
-
*/
|
|
1017
|
-
ERR_INVALID_PACKAGE_TARGET = "ERR_INVALID_PACKAGE_TARGET",
|
|
1018
|
-
/**
|
|
1019
|
-
* <p>While using the Performance Timing API (<code>perf_hooks</code>), a performance mark is
|
|
1020
|
-
* invalid.</p>
|
|
1021
1005
|
* <p><a id="ERR_INVALID_PROTOCOL"></a></p>
|
|
1022
1006
|
*/
|
|
1023
|
-
|
|
1007
|
+
ERR_INVALID_PACKAGE_TARGET = "ERR_INVALID_PACKAGE_TARGET",
|
|
1024
1008
|
/**
|
|
1025
1009
|
* <p>An invalid <code>options.protocol</code> was passed to <code>http.request()</code>.</p>
|
|
1026
1010
|
* <p><a id="ERR_INVALID_REPL_EVAL_CONFIG"></a></p>
|
|
@@ -1086,9 +1070,16 @@ export declare enum NodeError {
|
|
|
1086
1070
|
* <a href="url.html#new-urlsearchparamsiterable"><code>URLSearchParams</code> constructor</a> did not
|
|
1087
1071
|
* represent a <code>[name, value]</code> tuple – that is, if an element is not iterable, or
|
|
1088
1072
|
* does not consist of exactly two elements.</p>
|
|
1089
|
-
* <p><a id="
|
|
1073
|
+
* <p><a id="ERR_INVALID_TYPESCRIPT_SYNTAX"></a></p>
|
|
1090
1074
|
*/
|
|
1091
1075
|
ERR_INVALID_TUPLE = "ERR_INVALID_TUPLE",
|
|
1076
|
+
/**
|
|
1077
|
+
* <p>The provided TypeScript syntax is not valid or unsupported.
|
|
1078
|
+
* This could happen when using TypeScript syntax that requires
|
|
1079
|
+
* transformation with <a href="typescript.html#type-stripping">type-stripping</a>.</p>
|
|
1080
|
+
* <p><a id="ERR_INVALID_URI"></a></p>
|
|
1081
|
+
*/
|
|
1082
|
+
ERR_INVALID_TYPESCRIPT_SYNTAX = "ERR_INVALID_TYPESCRIPT_SYNTAX",
|
|
1092
1083
|
/**
|
|
1093
1084
|
* <p>An invalid URI was passed.</p>
|
|
1094
1085
|
* <p><a id="ERR_INVALID_URL"></a></p>
|
|
@@ -1233,22 +1224,14 @@ export declare enum NodeError {
|
|
|
1233
1224
|
/**
|
|
1234
1225
|
* <p>An error occurred while attempting to retrieve the JavaScript <code>undefined</code>
|
|
1235
1226
|
* value.</p>
|
|
1236
|
-
* <p><a id="
|
|
1227
|
+
* <p><a id="ERR_NON_CONTEXT_AWARE_DISABLED"></a></p>
|
|
1237
1228
|
*/
|
|
1238
1229
|
ERR_NAPI_TSFN_GET_UNDEFINED = "ERR_NAPI_TSFN_GET_UNDEFINED",
|
|
1239
1230
|
/**
|
|
1240
|
-
* <p>
|
|
1241
|
-
* thread-safe function in an idle loop. This error indicates that an error
|
|
1242
|
-
* has occurred when attempting to start the loop.</p>
|
|
1243
|
-
* <p><a id="ERR_NAPI_TSFN_STOP_IDLE_LOOP"></a></p>
|
|
1244
|
-
*/
|
|
1245
|
-
ERR_NAPI_TSFN_START_IDLE_LOOP = "ERR_NAPI_TSFN_START_IDLE_LOOP",
|
|
1246
|
-
/**
|
|
1247
|
-
* <p>Once no more items are left in the queue, the idle loop must be suspended. This
|
|
1248
|
-
* error indicates that the idle loop has failed to stop.</p>
|
|
1231
|
+
* <p>A non-context-aware native addon was loaded in a process that disallows them.</p>
|
|
1249
1232
|
* <p><a id="ERR_NOT_BUILDING_SNAPSHOT"></a></p>
|
|
1250
1233
|
*/
|
|
1251
|
-
|
|
1234
|
+
ERR_NON_CONTEXT_AWARE_DISABLED = "ERR_NON_CONTEXT_AWARE_DISABLED",
|
|
1252
1235
|
/**
|
|
1253
1236
|
* <p>An attempt was made to use operations that can only be used when building
|
|
1254
1237
|
* V8 startup snapshot even though Node.js isn't building one.</p>
|
|
@@ -1276,14 +1259,21 @@ export declare enum NodeError {
|
|
|
1276
1259
|
/**
|
|
1277
1260
|
* <p>An attempt was made to use features that require <a href="intl.html#internationalization-support">ICU</a>, but Node.js was not
|
|
1278
1261
|
* compiled with ICU support.</p>
|
|
1279
|
-
* <p><a id="
|
|
1262
|
+
* <p><a id="ERR_NO_TYPESCRIPT"></a></p>
|
|
1280
1263
|
*/
|
|
1281
1264
|
ERR_NO_ICU = "ERR_NO_ICU",
|
|
1282
1265
|
/**
|
|
1283
|
-
* <p>
|
|
1266
|
+
* <p>An attempt was made to use features that require <a href="typescript.html#type-stripping">Native TypeScript support</a>, but Node.js was not
|
|
1267
|
+
* compiled with TypeScript support.</p>
|
|
1268
|
+
* <p><a id="ERR_OPERATION_FAILED"></a></p>
|
|
1269
|
+
*/
|
|
1270
|
+
ERR_NO_TYPESCRIPT = "ERR_NO_TYPESCRIPT",
|
|
1271
|
+
/**
|
|
1272
|
+
* <p>An operation failed. This is typically used to signal the general failure
|
|
1273
|
+
* of an asynchronous operation.</p>
|
|
1284
1274
|
* <p><a id="ERR_OUT_OF_RANGE"></a></p>
|
|
1285
1275
|
*/
|
|
1286
|
-
|
|
1276
|
+
ERR_OPERATION_FAILED = "ERR_OPERATION_FAILED",
|
|
1287
1277
|
/**
|
|
1288
1278
|
* <p>A given value is out of the accepted range.</p>
|
|
1289
1279
|
* <p><a id="ERR_PACKAGE_IMPORT_NOT_DEFINED"></a></p>
|
|
@@ -1336,33 +1326,49 @@ export declare enum NodeError {
|
|
|
1336
1326
|
* <a href="cli.html#--disable-protomode"><code>--disable-proto=throw</code></a>. <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/getPrototypeOf"><code>Object.getPrototypeOf</code></a> and
|
|
1337
1327
|
* <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/setPrototypeOf"><code>Object.setPrototypeOf</code></a> should be used to get and set the prototype of an
|
|
1338
1328
|
* object.</p>
|
|
1339
|
-
* <p><a id="
|
|
1329
|
+
* <p><a id="ERR_QUIC_CONNECTION_FAILED"></a></p>
|
|
1340
1330
|
*/
|
|
1341
1331
|
ERR_PROTO_ACCESS = "ERR_PROTO_ACCESS",
|
|
1342
1332
|
/**
|
|
1343
|
-
* <p>
|
|
1344
|
-
* a
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
*
|
|
1349
|
-
*
|
|
1333
|
+
* <p>Establishing a QUIC connection failed.</p>
|
|
1334
|
+
* <p><a id="ERR_QUIC_ENDPOINT_CLOSED"></a></p>
|
|
1335
|
+
*/
|
|
1336
|
+
ERR_QUIC_CONNECTION_FAILED = "ERR_QUIC_CONNECTION_FAILED",
|
|
1337
|
+
/**
|
|
1338
|
+
* <p>A QUIC Endpoint closed with an error.</p>
|
|
1339
|
+
* <p><a id="ERR_QUIC_OPEN_STREAM_FAILED"></a></p>
|
|
1340
|
+
*/
|
|
1341
|
+
ERR_QUIC_ENDPOINT_CLOSED = "ERR_QUIC_ENDPOINT_CLOSED",
|
|
1342
|
+
/**
|
|
1343
|
+
* <p>Opening a QUIC stream failed.</p>
|
|
1350
1344
|
* <p><a id="ERR_REQUIRE_ASYNC_MODULE"></a></p>
|
|
1351
1345
|
*/
|
|
1352
|
-
|
|
1346
|
+
ERR_QUIC_OPEN_STREAM_FAILED = "ERR_QUIC_OPEN_STREAM_FAILED",
|
|
1353
1347
|
/**
|
|
1354
|
-
* <p>When trying to <code>require()</code> a <a href="esm.html">ES Module</a
|
|
1355
|
-
*
|
|
1348
|
+
* <p>When trying to <code>require()</code> a <a href="esm.html">ES Module</a>, the module turns out to be asynchronous.
|
|
1349
|
+
* That is, it contains top-level await.</p>
|
|
1356
1350
|
* <p>To see where the top-level await is, use
|
|
1357
1351
|
* <code>--experimental-print-required-tla</code> (this would execute the modules
|
|
1358
1352
|
* before looking for the top-level awaits).</p>
|
|
1359
|
-
* <p><a id="
|
|
1353
|
+
* <p><a id="ERR_REQUIRE_CYCLE_MODULE"></a></p>
|
|
1360
1354
|
*/
|
|
1361
1355
|
ERR_REQUIRE_ASYNC_MODULE = "ERR_REQUIRE_ASYNC_MODULE",
|
|
1356
|
+
/**
|
|
1357
|
+
* <p>When trying to <code>require()</code> a <a href="esm.html">ES Module</a>, a CommonJS to ESM or ESM to CommonJS edge
|
|
1358
|
+
* participates in an immediate cycle.
|
|
1359
|
+
* This is not allowed because ES Modules cannot be evaluated while they are
|
|
1360
|
+
* already being evaluated.</p>
|
|
1361
|
+
* <p>To avoid the cycle, the <code>require()</code> call involved in a cycle should not happen
|
|
1362
|
+
* at the top-level of either an ES Module (via <code>createRequire()</code>) or a CommonJS
|
|
1363
|
+
* module, and should be done lazily in an inner function.</p>
|
|
1364
|
+
* <p><a id="ERR_REQUIRE_ESM"></a></p>
|
|
1365
|
+
*/
|
|
1366
|
+
ERR_REQUIRE_CYCLE_MODULE = "ERR_REQUIRE_CYCLE_MODULE",
|
|
1362
1367
|
/**
|
|
1363
1368
|
* <p>An attempt was made to <code>require()</code> an <a href="esm.html">ES Module</a>.</p>
|
|
1364
|
-
* <p>
|
|
1365
|
-
*
|
|
1369
|
+
* <p>This error has been deprecated since <code>require()</code> now supports loading synchronous
|
|
1370
|
+
* ES modules. When <code>require()</code> encounters an ES module that contains top-level
|
|
1371
|
+
* <code>await</code>, it will throw <a href="#err_require_async_module"><code>ERR_REQUIRE_ASYNC_MODULE</code></a> instead.</p>
|
|
1366
1372
|
* <p><a id="ERR_SCRIPT_EXECUTION_INTERRUPTED"></a></p>
|
|
1367
1373
|
*/
|
|
1368
1374
|
ERR_REQUIRE_ESM = "ERR_REQUIRE_ESM",
|
|
@@ -1455,9 +1461,19 @@ export declare enum NodeError {
|
|
|
1455
1461
|
ERR_SOCKET_DGRAM_NOT_CONNECTED = "ERR_SOCKET_DGRAM_NOT_CONNECTED",
|
|
1456
1462
|
/**
|
|
1457
1463
|
* <p>A call was made and the UDP subsystem was not running.</p>
|
|
1458
|
-
* <p><a id="
|
|
1464
|
+
* <p><a id="ERR_SOURCE_MAP_CORRUPT"></a></p>
|
|
1459
1465
|
*/
|
|
1460
1466
|
ERR_SOCKET_DGRAM_NOT_RUNNING = "ERR_SOCKET_DGRAM_NOT_RUNNING",
|
|
1467
|
+
/**
|
|
1468
|
+
* <p>The source map could not be parsed because it does not exist, or is corrupt.</p>
|
|
1469
|
+
* <p><a id="ERR_SOURCE_MAP_MISSING_SOURCE"></a></p>
|
|
1470
|
+
*/
|
|
1471
|
+
ERR_SOURCE_MAP_CORRUPT = "ERR_SOURCE_MAP_CORRUPT",
|
|
1472
|
+
/**
|
|
1473
|
+
* <p>A file imported from a source map was not found.</p>
|
|
1474
|
+
* <p><a id="ERR_SQLITE_ERROR"></a></p>
|
|
1475
|
+
*/
|
|
1476
|
+
ERR_SOURCE_MAP_MISSING_SOURCE = "ERR_SOURCE_MAP_MISSING_SOURCE",
|
|
1461
1477
|
/**
|
|
1462
1478
|
* <p>An error was returned from <a href="sqlite.html">SQLite</a>.</p>
|
|
1463
1479
|
* <p><a id="ERR_SRI_PARSE"></a></p>
|
|
@@ -1501,9 +1517,14 @@ export declare enum NodeError {
|
|
|
1501
1517
|
/**
|
|
1502
1518
|
* <p>An attempt was made to call <a href="stream.html#readablepushchunk-encoding"><code>stream.push()</code></a> after a <code>null</code>(EOF) had been
|
|
1503
1519
|
* pushed to the stream.</p>
|
|
1504
|
-
* <p><a id="
|
|
1520
|
+
* <p><a id="ERR_STREAM_UNABLE_TO_PIPE"></a></p>
|
|
1505
1521
|
*/
|
|
1506
1522
|
ERR_STREAM_PUSH_AFTER_EOF = "ERR_STREAM_PUSH_AFTER_EOF",
|
|
1523
|
+
/**
|
|
1524
|
+
* <p>An attempt was made to pipe to a closed or destroyed stream in a pipeline.</p>
|
|
1525
|
+
* <p><a id="ERR_STREAM_UNSHIFT_AFTER_END_EVENT"></a></p>
|
|
1526
|
+
*/
|
|
1527
|
+
ERR_STREAM_UNABLE_TO_PIPE = "ERR_STREAM_UNABLE_TO_PIPE",
|
|
1507
1528
|
/**
|
|
1508
1529
|
* <p>An attempt was made to call <a href="stream.html#readableunshiftchunk-encoding"><code>stream.unshift()</code></a> after the <code>'end'</code> event was
|
|
1509
1530
|
* emitted.</p>
|
|
@@ -1634,14 +1655,14 @@ export declare enum NodeError {
|
|
|
1634
1655
|
/**
|
|
1635
1656
|
* <p>Attempting to set a TLS protocol <code>minVersion</code> or <code>maxVersion</code> conflicts with an
|
|
1636
1657
|
* attempt to set the <code>secureProtocol</code> explicitly. Use one mechanism or the other.</p>
|
|
1637
|
-
* <p><a id="
|
|
1658
|
+
* <p><a id="ERR_TLS_PSK_SET_IDENTITY_HINT_FAILED"></a></p>
|
|
1638
1659
|
*/
|
|
1639
1660
|
ERR_TLS_PROTOCOL_VERSION_CONFLICT = "ERR_TLS_PROTOCOL_VERSION_CONFLICT",
|
|
1640
1661
|
/**
|
|
1641
1662
|
* <p>Failed to set PSK identity hint. Hint may be too long.</p>
|
|
1642
1663
|
* <p><a id="ERR_TLS_RENEGOTIATION_DISABLED"></a></p>
|
|
1643
1664
|
*/
|
|
1644
|
-
|
|
1665
|
+
ERR_TLS_PSK_SET_IDENTITY_HINT_FAILED = "ERR_TLS_PSK_SET_IDENTITY_HINT_FAILED",
|
|
1645
1666
|
/**
|
|
1646
1667
|
* <p>An attempt was made to renegotiate TLS on a socket instance with renegotiation
|
|
1647
1668
|
* disabled.</p>
|
|
@@ -1765,9 +1786,14 @@ export declare enum NodeError {
|
|
|
1765
1786
|
ERR_UNSUPPORTED_DIR_IMPORT = "ERR_UNSUPPORTED_DIR_IMPORT",
|
|
1766
1787
|
/**
|
|
1767
1788
|
* <p><code>import</code> with URL schemes other than <code>file</code> and <code>data</code> is unsupported.</p>
|
|
1768
|
-
* <p><a id="
|
|
1789
|
+
* <p><a id="ERR_UNSUPPORTED_NODE_MODULES_TYPE_STRIPPING"></a></p>
|
|
1769
1790
|
*/
|
|
1770
1791
|
ERR_UNSUPPORTED_ESM_URL_SCHEME = "ERR_UNSUPPORTED_ESM_URL_SCHEME",
|
|
1792
|
+
/**
|
|
1793
|
+
* <p>Type stripping is not supported for files descendent of a <code>node_modules</code> directory.</p>
|
|
1794
|
+
* <p><a id="ERR_UNSUPPORTED_RESOLVE_REQUEST"></a></p>
|
|
1795
|
+
*/
|
|
1796
|
+
ERR_UNSUPPORTED_NODE_MODULES_TYPE_STRIPPING = "ERR_UNSUPPORTED_NODE_MODULES_TYPE_STRIPPING",
|
|
1771
1797
|
/**
|
|
1772
1798
|
* <p>An attempt was made to resolve an invalid module referrer. This can happen when
|
|
1773
1799
|
* importing or calling <code>import.meta.resolve()</code> with either:</p>
|
|
@@ -1794,19 +1820,19 @@ export declare enum NodeError {
|
|
|
1794
1820
|
/**
|
|
1795
1821
|
* <p>While using the Performance Timing API (<code>perf_hooks</code>), no valid performance
|
|
1796
1822
|
* entry types are found.</p>
|
|
1797
|
-
* <p><a id="
|
|
1823
|
+
* <p><a id="ERR_VM_DYNAMIC_IMPORT_CALLBACK_MISSING"></a></p>
|
|
1798
1824
|
*/
|
|
1799
1825
|
ERR_VALID_PERFORMANCE_ENTRY_TYPE = "ERR_VALID_PERFORMANCE_ENTRY_TYPE",
|
|
1800
1826
|
/**
|
|
1801
|
-
* <p>A dynamic import callback was
|
|
1802
|
-
* <p><a id="
|
|
1827
|
+
* <p>A dynamic import callback was not specified.</p>
|
|
1828
|
+
* <p><a id="ERR_VM_DYNAMIC_IMPORT_CALLBACK_MISSING_FLAG"></a></p>
|
|
1803
1829
|
*/
|
|
1804
|
-
|
|
1830
|
+
ERR_VM_DYNAMIC_IMPORT_CALLBACK_MISSING = "ERR_VM_DYNAMIC_IMPORT_CALLBACK_MISSING",
|
|
1805
1831
|
/**
|
|
1806
|
-
* <p>A dynamic import callback was
|
|
1832
|
+
* <p>A dynamic import callback was invoked without <code>--experimental-vm-modules</code>.</p>
|
|
1807
1833
|
* <p><a id="ERR_VM_MODULE_ALREADY_LINKED"></a></p>
|
|
1808
1834
|
*/
|
|
1809
|
-
|
|
1835
|
+
ERR_VM_DYNAMIC_IMPORT_CALLBACK_MISSING_FLAG = "ERR_VM_DYNAMIC_IMPORT_CALLBACK_MISSING_FLAG",
|
|
1810
1836
|
/**
|
|
1811
1837
|
* <p>The module attempted to be linked is not eligible for linking, because of one of
|
|
1812
1838
|
* the following reasons:</p>
|
|
@@ -1874,25 +1900,9 @@ export declare enum NodeError {
|
|
|
1874
1900
|
/**
|
|
1875
1901
|
* <p>The <code>execArgv</code> option passed to the <code>Worker</code> constructor contains
|
|
1876
1902
|
* invalid flags.</p>
|
|
1877
|
-
* <p><a id="ERR_WORKER_NOT_RUNNING"></a></p>
|
|
1878
|
-
*/
|
|
1879
|
-
ERR_WORKER_INVALID_EXEC_ARGV = "ERR_WORKER_INVALID_EXEC_ARGV",
|
|
1880
|
-
/**
|
|
1881
|
-
* <p>An operation failed because the <code>Worker</code> instance is not currently running.</p>
|
|
1882
|
-
* <p><a id="ERR_WORKER_OUT_OF_MEMORY"></a></p>
|
|
1883
|
-
*/
|
|
1884
|
-
ERR_WORKER_NOT_RUNNING = "ERR_WORKER_NOT_RUNNING",
|
|
1885
|
-
/**
|
|
1886
|
-
* <p>The <code>Worker</code> instance terminated because it reached its memory limit.</p>
|
|
1887
|
-
* <p><a id="ERR_WORKER_PATH"></a></p>
|
|
1888
|
-
*/
|
|
1889
|
-
ERR_WORKER_OUT_OF_MEMORY = "ERR_WORKER_OUT_OF_MEMORY",
|
|
1890
|
-
/**
|
|
1891
|
-
* <p>The path for the main script of a worker is neither an absolute path
|
|
1892
|
-
* nor a relative path starting with <code>./</code> or <code>../</code>.</p>
|
|
1893
1903
|
* <p><a id="ERR_WORKER_MESSAGING_ERRORED"></a></p>
|
|
1894
1904
|
*/
|
|
1895
|
-
|
|
1905
|
+
ERR_WORKER_INVALID_EXEC_ARGV = "ERR_WORKER_INVALID_EXEC_ARGV",
|
|
1896
1906
|
/**
|
|
1897
1907
|
* <p>The destination thread threw an error while processing a message sent via <a href="worker_threads.html#workerpostmessagetothreadthreadid-value-transferlist-timeout"><code>postMessageToThread()</code></a>.</p>
|
|
1898
1908
|
* <p><a id="ERR_WORKER_MESSAGING_FAILED"></a></p>
|
|
@@ -1910,9 +1920,25 @@ export declare enum NodeError {
|
|
|
1910
1920
|
ERR_WORKER_MESSAGING_SAME_THREAD = "ERR_WORKER_MESSAGING_SAME_THREAD",
|
|
1911
1921
|
/**
|
|
1912
1922
|
* <p>Sending a message via <a href="worker_threads.html#workerpostmessagetothreadthreadid-value-transferlist-timeout"><code>postMessageToThread()</code></a> timed out.</p>
|
|
1913
|
-
* <p><a id="
|
|
1923
|
+
* <p><a id="ERR_WORKER_NOT_RUNNING"></a></p>
|
|
1914
1924
|
*/
|
|
1915
1925
|
ERR_WORKER_MESSAGING_TIMEOUT = "ERR_WORKER_MESSAGING_TIMEOUT",
|
|
1926
|
+
/**
|
|
1927
|
+
* <p>An operation failed because the <code>Worker</code> instance is not currently running.</p>
|
|
1928
|
+
* <p><a id="ERR_WORKER_OUT_OF_MEMORY"></a></p>
|
|
1929
|
+
*/
|
|
1930
|
+
ERR_WORKER_NOT_RUNNING = "ERR_WORKER_NOT_RUNNING",
|
|
1931
|
+
/**
|
|
1932
|
+
* <p>The <code>Worker</code> instance terminated because it reached its memory limit.</p>
|
|
1933
|
+
* <p><a id="ERR_WORKER_PATH"></a></p>
|
|
1934
|
+
*/
|
|
1935
|
+
ERR_WORKER_OUT_OF_MEMORY = "ERR_WORKER_OUT_OF_MEMORY",
|
|
1936
|
+
/**
|
|
1937
|
+
* <p>The path for the main script of a worker is neither an absolute path
|
|
1938
|
+
* nor a relative path starting with <code>./</code> or <code>../</code>.</p>
|
|
1939
|
+
* <p><a id="ERR_WORKER_UNSERIALIZABLE_ERROR"></a></p>
|
|
1940
|
+
*/
|
|
1941
|
+
ERR_WORKER_PATH = "ERR_WORKER_PATH",
|
|
1916
1942
|
/**
|
|
1917
1943
|
* <p>All attempts at serializing an uncaught exception from a worker thread failed.</p>
|
|
1918
1944
|
* <p><a id="ERR_WORKER_UNSUPPORTED_OPERATION"></a></p>
|
|
@@ -1925,24 +1951,24 @@ export declare enum NodeError {
|
|
|
1925
1951
|
ERR_WORKER_UNSUPPORTED_OPERATION = "ERR_WORKER_UNSUPPORTED_OPERATION",
|
|
1926
1952
|
/**
|
|
1927
1953
|
* <p>Creation of a <a href="zlib.html"><code>zlib</code></a> object failed due to incorrect configuration.</p>
|
|
1928
|
-
* <p><a id="
|
|
1954
|
+
* <p><a id="HPE_CHUNK_EXTENSIONS_OVERFLOW"></a></p>
|
|
1929
1955
|
*/
|
|
1930
1956
|
ERR_ZLIB_INITIALIZATION_FAILED = "ERR_ZLIB_INITIALIZATION_FAILED",
|
|
1957
|
+
/**
|
|
1958
|
+
* <p>Too much data was received for a chunk extensions. In order to protect against
|
|
1959
|
+
* malicious or malconfigured clients, if more than 16 KiB of data is received
|
|
1960
|
+
* then an <code>Error</code> with this code will be emitted.</p>
|
|
1961
|
+
* <p><a id="HPE_HEADER_OVERFLOW"></a></p>
|
|
1962
|
+
*/
|
|
1963
|
+
HPE_CHUNK_EXTENSIONS_OVERFLOW = "HPE_CHUNK_EXTENSIONS_OVERFLOW",
|
|
1931
1964
|
/**
|
|
1932
1965
|
* <p>Too much HTTP header data was received. In order to protect against malicious or
|
|
1933
1966
|
* malconfigured clients, if more than <code>maxHeaderSize</code> of HTTP header data is received then
|
|
1934
1967
|
* HTTP parsing will abort without a request or response object being created, and
|
|
1935
1968
|
* an <code>Error</code> with this code will be emitted.</p>
|
|
1936
|
-
* <p><a id="HPE_CHUNK_EXTENSIONS_OVERFLOW"></a></p>
|
|
1937
|
-
*/
|
|
1938
|
-
HPE_HEADER_OVERFLOW = "HPE_HEADER_OVERFLOW",
|
|
1939
|
-
/**
|
|
1940
|
-
* <p>Too much data was received for a chunk extensions. In order to protect against
|
|
1941
|
-
* malicious or malconfigured clients, if more than 16 KiB of data is received
|
|
1942
|
-
* then an <code>Error</code> with this code will be emitted.</p>
|
|
1943
1969
|
* <p><a id="HPE_UNEXPECTED_CONTENT_LENGTH"></a></p>
|
|
1944
1970
|
*/
|
|
1945
|
-
|
|
1971
|
+
HPE_HEADER_OVERFLOW = "HPE_HEADER_OVERFLOW",
|
|
1946
1972
|
/**
|
|
1947
1973
|
* <p>Server is sending both a <code>Content-Length</code> header and <code>Transfer-Encoding: chunked</code>.</p>
|
|
1948
1974
|
* <p><code>Transfer-Encoding: chunked</code> allows the server to maintain an HTTP persistent
|
|
@@ -1960,19 +1986,40 @@ export declare enum NodeError {
|
|
|
1960
1986
|
/**
|
|
1961
1987
|
* <p>The value passed to <code>postMessage()</code> contained an object that is not supported
|
|
1962
1988
|
* for transferring.</p>
|
|
1963
|
-
* <p><a id="
|
|
1989
|
+
* <p><a id="ERR_CPU_USAGE"></a></p>
|
|
1964
1990
|
* @deprecated
|
|
1965
1991
|
*/
|
|
1966
1992
|
ERR_CANNOT_TRANSFER_OBJECT = "ERR_CANNOT_TRANSFER_OBJECT",
|
|
1993
|
+
/**
|
|
1994
|
+
* <p>The native call from <code>process.cpuUsage</code> could not be processed.</p>
|
|
1995
|
+
* <p><a id="ERR_CRYPTO_HASH_DIGEST_NO_UTF16"></a></p>
|
|
1996
|
+
* @deprecated
|
|
1997
|
+
*/
|
|
1998
|
+
ERR_CPU_USAGE = "ERR_CPU_USAGE",
|
|
1967
1999
|
/**
|
|
1968
2000
|
* <p>The UTF-16 encoding was used with <a href="crypto.html#hashdigestencoding"><code>hash.digest()</code></a>. While the
|
|
1969
2001
|
* <code>hash.digest()</code> method does allow an <code>encoding</code> argument to be passed in,
|
|
1970
2002
|
* causing the method to return a string rather than a <code>Buffer</code>, the UTF-16
|
|
1971
2003
|
* encoding (e.g. <code>ucs</code> or <code>utf16le</code>) is not supported.</p>
|
|
1972
|
-
* <p><a id="
|
|
2004
|
+
* <p><a id="ERR_CRYPTO_SCRYPT_INVALID_PARAMETER"></a></p>
|
|
1973
2005
|
* @deprecated
|
|
1974
2006
|
*/
|
|
1975
2007
|
ERR_CRYPTO_HASH_DIGEST_NO_UTF16 = "ERR_CRYPTO_HASH_DIGEST_NO_UTF16",
|
|
2008
|
+
/**
|
|
2009
|
+
* <p>An incompatible combination of options was passed to <a href="crypto.html#cryptoscryptpassword-salt-keylen-options-callback"><code>crypto.scrypt()</code></a> or
|
|
2010
|
+
* <a href="crypto.html#cryptoscryptsyncpassword-salt-keylen-options"><code>crypto.scryptSync()</code></a>. New versions of Node.js use the error code
|
|
2011
|
+
* <a href="#err_incompatible_option_pair"><code>ERR_INCOMPATIBLE_OPTION_PAIR</code></a> instead, which is consistent with other APIs.</p>
|
|
2012
|
+
* <p><a id="ERR_FS_INVALID_SYMLINK_TYPE"></a></p>
|
|
2013
|
+
* @deprecated
|
|
2014
|
+
*/
|
|
2015
|
+
ERR_CRYPTO_SCRYPT_INVALID_PARAMETER = "ERR_CRYPTO_SCRYPT_INVALID_PARAMETER",
|
|
2016
|
+
/**
|
|
2017
|
+
* <p>An invalid symlink type was passed to the <a href="fs.html#fssymlinktarget-path-type-callback"><code>fs.symlink()</code></a> or
|
|
2018
|
+
* <a href="fs.html#fssymlinksynctarget-path-type"><code>fs.symlinkSync()</code></a> methods.</p>
|
|
2019
|
+
* <p><a id="ERR_HTTP2_FRAME_ERROR"></a></p>
|
|
2020
|
+
* @deprecated
|
|
2021
|
+
*/
|
|
2022
|
+
ERR_FS_INVALID_SYMLINK_TYPE = "ERR_FS_INVALID_SYMLINK_TYPE",
|
|
1976
2023
|
/**
|
|
1977
2024
|
* <p>Used when a failure occurs sending an individual frame on the HTTP/2
|
|
1978
2025
|
* session.</p>
|
|
@@ -2009,10 +2056,28 @@ export declare enum NodeError {
|
|
|
2009
2056
|
/**
|
|
2010
2057
|
* <p>Used when an invalid character is found in an HTTP response status message
|
|
2011
2058
|
* (reason phrase).</p>
|
|
2012
|
-
* <p><a id="
|
|
2059
|
+
* <p><a id="ERR_IMPORT_ASSERTION_TYPE_FAILED"></a></p>
|
|
2013
2060
|
* @deprecated
|
|
2014
2061
|
*/
|
|
2015
2062
|
ERR_HTTP_INVALID_CHAR = "ERR_HTTP_INVALID_CHAR",
|
|
2063
|
+
/**
|
|
2064
|
+
* <p>An import assertion has failed, preventing the specified module to be imported.</p>
|
|
2065
|
+
* <p><a id="ERR_IMPORT_ASSERTION_TYPE_MISSING"></a></p>
|
|
2066
|
+
* @deprecated
|
|
2067
|
+
*/
|
|
2068
|
+
ERR_IMPORT_ASSERTION_TYPE_FAILED = "ERR_IMPORT_ASSERTION_TYPE_FAILED",
|
|
2069
|
+
/**
|
|
2070
|
+
* <p>An import assertion is missing, preventing the specified module to be imported.</p>
|
|
2071
|
+
* <p><a id="ERR_IMPORT_ASSERTION_TYPE_UNSUPPORTED"></a></p>
|
|
2072
|
+
* @deprecated
|
|
2073
|
+
*/
|
|
2074
|
+
ERR_IMPORT_ASSERTION_TYPE_MISSING = "ERR_IMPORT_ASSERTION_TYPE_MISSING",
|
|
2075
|
+
/**
|
|
2076
|
+
* <p>An import attribute is not supported by this version of Node.js.</p>
|
|
2077
|
+
* <p><a id="ERR_INDEX_OUT_OF_RANGE"></a></p>
|
|
2078
|
+
* @deprecated
|
|
2079
|
+
*/
|
|
2080
|
+
ERR_IMPORT_ASSERTION_TYPE_UNSUPPORTED = "ERR_IMPORT_ASSERTION_TYPE_UNSUPPORTED",
|
|
2016
2081
|
/**
|
|
2017
2082
|
* <p>A given index was out of the accepted range (e.g. negative offsets).</p>
|
|
2018
2083
|
* <p><a id="ERR_INVALID_OPT_VALUE"></a></p>
|
|
@@ -2027,34 +2092,23 @@ export declare enum NodeError {
|
|
|
2027
2092
|
ERR_INVALID_OPT_VALUE = "ERR_INVALID_OPT_VALUE",
|
|
2028
2093
|
/**
|
|
2029
2094
|
* <p>An invalid or unknown file encoding was passed.</p>
|
|
2030
|
-
* <p><a id="
|
|
2095
|
+
* <p><a id="ERR_INVALID_PERFORMANCE_MARK"></a></p>
|
|
2031
2096
|
* @deprecated
|
|
2032
2097
|
*/
|
|
2033
2098
|
ERR_INVALID_OPT_VALUE_ENCODING = "ERR_INVALID_OPT_VALUE_ENCODING",
|
|
2034
2099
|
/**
|
|
2035
|
-
* <p>
|
|
2036
|
-
*
|
|
2037
|
-
*
|
|
2038
|
-
*/
|
|
2039
|
-
ERR_INVALID_TRANSFER_OBJECT = "ERR_INVALID_TRANSFER_OBJECT",
|
|
2040
|
-
/**
|
|
2041
|
-
* <p>An import assertion has failed, preventing the specified module to be imported.</p>
|
|
2042
|
-
* <p><a id="ERR_IMPORT_ASSERTION_TYPE_MISSING"></a></p>
|
|
2043
|
-
* @deprecated
|
|
2044
|
-
*/
|
|
2045
|
-
ERR_IMPORT_ASSERTION_TYPE_FAILED = "ERR_IMPORT_ASSERTION_TYPE_FAILED",
|
|
2046
|
-
/**
|
|
2047
|
-
* <p>An import assertion is missing, preventing the specified module to be imported.</p>
|
|
2048
|
-
* <p><a id="ERR_IMPORT_ASSERTION_TYPE_UNSUPPORTED"></a></p>
|
|
2100
|
+
* <p>While using the Performance Timing API (<code>perf_hooks</code>), a performance mark is
|
|
2101
|
+
* invalid.</p>
|
|
2102
|
+
* <p><a id="ERR_INVALID_TRANSFER_OBJECT"></a></p>
|
|
2049
2103
|
* @deprecated
|
|
2050
2104
|
*/
|
|
2051
|
-
|
|
2105
|
+
ERR_INVALID_PERFORMANCE_MARK = "ERR_INVALID_PERFORMANCE_MARK",
|
|
2052
2106
|
/**
|
|
2053
|
-
* <p>An
|
|
2107
|
+
* <p>An invalid transfer object was passed to <code>postMessage()</code>.</p>
|
|
2054
2108
|
* <p><a id="ERR_MANIFEST_ASSERT_INTEGRITY"></a></p>
|
|
2055
2109
|
* @deprecated
|
|
2056
2110
|
*/
|
|
2057
|
-
|
|
2111
|
+
ERR_INVALID_TRANSFER_OBJECT = "ERR_INVALID_TRANSFER_OBJECT",
|
|
2058
2112
|
/**
|
|
2059
2113
|
* <p>An attempt was made to load a resource, but the resource did not match the
|
|
2060
2114
|
* integrity defined by the policy manifest. See the documentation for policy
|
|
@@ -2139,24 +2193,32 @@ export declare enum NodeError {
|
|
|
2139
2193
|
ERR_MISSING_TRANSFERABLE_IN_TRANSFER_LIST = "ERR_MISSING_TRANSFERABLE_IN_TRANSFER_LIST",
|
|
2140
2194
|
/**
|
|
2141
2195
|
* <p>Used by the <code>Node-API</code> when <code>Constructor.prototype</code> is not an object.</p>
|
|
2142
|
-
* <p><a id="
|
|
2196
|
+
* <p><a id="ERR_NAPI_TSFN_START_IDLE_LOOP"></a></p>
|
|
2143
2197
|
* @deprecated
|
|
2144
2198
|
*/
|
|
2145
2199
|
ERR_NAPI_CONS_PROTOTYPE_OBJECT = "ERR_NAPI_CONS_PROTOTYPE_OBJECT",
|
|
2146
2200
|
/**
|
|
2147
|
-
* <p>
|
|
2148
|
-
*
|
|
2149
|
-
*
|
|
2201
|
+
* <p>On the main thread, values are removed from the queue associated with the
|
|
2202
|
+
* thread-safe function in an idle loop. This error indicates that an error
|
|
2203
|
+
* has occurred when attempting to start the loop.</p>
|
|
2204
|
+
* <p><a id="ERR_NAPI_TSFN_STOP_IDLE_LOOP"></a></p>
|
|
2150
2205
|
* @deprecated
|
|
2151
2206
|
*/
|
|
2152
|
-
|
|
2207
|
+
ERR_NAPI_TSFN_START_IDLE_LOOP = "ERR_NAPI_TSFN_START_IDLE_LOOP",
|
|
2153
2208
|
/**
|
|
2154
|
-
* <p>
|
|
2155
|
-
*
|
|
2209
|
+
* <p>Once no more items are left in the queue, the idle loop must be suspended. This
|
|
2210
|
+
* error indicates that the idle loop has failed to stop.</p>
|
|
2211
|
+
* <p><a id="ERR_NO_LONGER_SUPPORTED"></a></p>
|
|
2212
|
+
* @deprecated
|
|
2213
|
+
*/
|
|
2214
|
+
ERR_NAPI_TSFN_STOP_IDLE_LOOP = "ERR_NAPI_TSFN_STOP_IDLE_LOOP",
|
|
2215
|
+
/**
|
|
2216
|
+
* <p>A Node.js API was called in an unsupported manner, such as
|
|
2217
|
+
* <code>Buffer.write(string, encoding, offset[, length])</code>.</p>
|
|
2156
2218
|
* <p><a id="ERR_OUTOFMEMORY"></a></p>
|
|
2157
2219
|
* @deprecated
|
|
2158
2220
|
*/
|
|
2159
|
-
|
|
2221
|
+
ERR_NO_LONGER_SUPPORTED = "ERR_NO_LONGER_SUPPORTED",
|
|
2160
2222
|
/**
|
|
2161
2223
|
* <p>Used generically to identify that an operation caused an out of memory
|
|
2162
2224
|
* condition.</p>
|
|
@@ -2237,22 +2299,22 @@ export declare enum NodeError {
|
|
|
2237
2299
|
ERR_V8BREAKITERATOR = "ERR_V8BREAKITERATOR",
|
|
2238
2300
|
/**
|
|
2239
2301
|
* <p>Used when a given value is out of the accepted range.</p>
|
|
2240
|
-
* <p><a id="
|
|
2302
|
+
* <p><a id="ERR_VM_MODULE_LINKING_ERRORED"></a></p>
|
|
2241
2303
|
* @deprecated
|
|
2242
2304
|
*/
|
|
2243
2305
|
ERR_VALUE_OUT_OF_RANGE = "ERR_VALUE_OUT_OF_RANGE",
|
|
2244
2306
|
/**
|
|
2245
|
-
* <p>The module
|
|
2246
|
-
* <p><a id="
|
|
2307
|
+
* <p>The linker function returned a module for which linking has failed.</p>
|
|
2308
|
+
* <p><a id="ERR_VM_MODULE_NOT_LINKED"></a></p>
|
|
2247
2309
|
* @deprecated
|
|
2248
2310
|
*/
|
|
2249
|
-
|
|
2311
|
+
ERR_VM_MODULE_LINKING_ERRORED = "ERR_VM_MODULE_LINKING_ERRORED",
|
|
2250
2312
|
/**
|
|
2251
|
-
* <p>The
|
|
2313
|
+
* <p>The module must be successfully linked before instantiation.</p>
|
|
2252
2314
|
* <p><a id="ERR_WORKER_UNSUPPORTED_EXTENSION"></a></p>
|
|
2253
2315
|
* @deprecated
|
|
2254
2316
|
*/
|
|
2255
|
-
|
|
2317
|
+
ERR_VM_MODULE_NOT_LINKED = "ERR_VM_MODULE_NOT_LINKED",
|
|
2256
2318
|
/**
|
|
2257
2319
|
* <p>The pathname used for the main script of a worker has an
|
|
2258
2320
|
* unknown file extension.</p>
|
|
@@ -2263,16 +2325,10 @@ export declare enum NodeError {
|
|
|
2263
2325
|
/**
|
|
2264
2326
|
* <p>Used when an attempt is made to use a <code>zlib</code> object after it has already been
|
|
2265
2327
|
* closed.</p>
|
|
2266
|
-
* <p><a id="ERR_CPU_USAGE"></a></p>
|
|
2267
|
-
* @deprecated
|
|
2268
|
-
*/
|
|
2269
|
-
ERR_ZLIB_BINDING_CLOSED = "ERR_ZLIB_BINDING_CLOSED",
|
|
2270
|
-
/**
|
|
2271
|
-
* <p>The native call from <code>process.cpuUsage</code> could not be processed.</p>
|
|
2272
2328
|
* <p><a id="openssl-error-codes"></a></p>
|
|
2273
2329
|
* @deprecated
|
|
2274
2330
|
*/
|
|
2275
|
-
|
|
2331
|
+
ERR_ZLIB_BINDING_CLOSED = "ERR_ZLIB_BINDING_CLOSED"
|
|
2276
2332
|
}
|
|
2277
2333
|
export declare enum OpenSSLError {
|
|
2278
2334
|
/**
|
|
@@ -2423,12 +2479,7 @@ export declare enum OpenSSLError {
|
|
|
2423
2479
|
UNABLE_TO_DECODE_ISSUER_PUBLIC_KEY = "UNABLE_TO_DECODE_ISSUER_PUBLIC_KEY",
|
|
2424
2480
|
/**
|
|
2425
2481
|
* <p>An error occurred trying to allocate memory. This should never happen.</p>
|
|
2426
|
-
* <p><a id="ERR_UNSUPPORTED_NODE_MODULES_TYPE_STRIPPING"></a></p>
|
|
2427
|
-
*/
|
|
2428
|
-
OUT_OF_MEM = "OUT_OF_MEM",
|
|
2429
|
-
/**
|
|
2430
|
-
* <p>Type stripping is not supported for files descendent of a <code>node_modules</code> directory.</p>
|
|
2431
2482
|
*/
|
|
2432
|
-
|
|
2483
|
+
OUT_OF_MEM = "OUT_OF_MEM"
|
|
2433
2484
|
}
|
|
2434
2485
|
//# sourceMappingURL=nodejs-error-code.generated.d.ts.map
|