@idlebox/node 1.4.0 → 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 +5 -5
- 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 +3 -3
- 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 +4 -4
- package/src/child_process/execa.ts +1 -1
- package/src/child_process/lateError.ts +2 -2
- package/src/child_process/respawn.ts +3 -3
- 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
|
@@ -232,14 +232,9 @@ export var NodeError;
|
|
|
232
232
|
NodeError["ERR_CRYPTO_INVALID_IV"] = "ERR_CRYPTO_INVALID_IV";
|
|
233
233
|
/**
|
|
234
234
|
* <p>An invalid JSON Web Key was provided.</p>
|
|
235
|
-
* <p><a id="ERR_CRYPTO_INVALID_KEY_OBJECT_TYPE"></a></p>
|
|
236
|
-
*/
|
|
237
|
-
NodeError["ERR_CRYPTO_INVALID_JWK"] = "ERR_CRYPTO_INVALID_JWK";
|
|
238
|
-
/**
|
|
239
|
-
* <p>The given crypto key object's type is invalid for the attempted operation.</p>
|
|
240
235
|
* <p><a id="ERR_CRYPTO_INVALID_KEYLEN"></a></p>
|
|
241
236
|
*/
|
|
242
|
-
NodeError["
|
|
237
|
+
NodeError["ERR_CRYPTO_INVALID_JWK"] = "ERR_CRYPTO_INVALID_JWK";
|
|
243
238
|
/**
|
|
244
239
|
* <p>An invalid key length was provided.</p>
|
|
245
240
|
* <p><a id="ERR_CRYPTO_INVALID_KEYPAIR"></a></p>
|
|
@@ -252,16 +247,22 @@ export var NodeError;
|
|
|
252
247
|
NodeError["ERR_CRYPTO_INVALID_KEYPAIR"] = "ERR_CRYPTO_INVALID_KEYPAIR";
|
|
253
248
|
/**
|
|
254
249
|
* <p>An invalid key type was provided.</p>
|
|
255
|
-
* <p><a id="
|
|
250
|
+
* <p><a id="ERR_CRYPTO_INVALID_KEY_OBJECT_TYPE"></a></p>
|
|
256
251
|
*/
|
|
257
252
|
NodeError["ERR_CRYPTO_INVALID_KEYTYPE"] = "ERR_CRYPTO_INVALID_KEYTYPE";
|
|
253
|
+
/**
|
|
254
|
+
* <p>The given crypto key object's type is invalid for the attempted operation.</p>
|
|
255
|
+
* <p><a id="ERR_CRYPTO_INVALID_MESSAGELEN"></a></p>
|
|
256
|
+
*/
|
|
257
|
+
NodeError["ERR_CRYPTO_INVALID_KEY_OBJECT_TYPE"] = "ERR_CRYPTO_INVALID_KEY_OBJECT_TYPE";
|
|
258
258
|
/**
|
|
259
259
|
* <p>An invalid message length was provided.</p>
|
|
260
260
|
* <p><a id="ERR_CRYPTO_INVALID_SCRYPT_PARAMS"></a></p>
|
|
261
261
|
*/
|
|
262
262
|
NodeError["ERR_CRYPTO_INVALID_MESSAGELEN"] = "ERR_CRYPTO_INVALID_MESSAGELEN";
|
|
263
263
|
/**
|
|
264
|
-
* <p>
|
|
264
|
+
* <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
|
|
265
|
+
* outside their legal range.</p>
|
|
265
266
|
* <p><a id="ERR_CRYPTO_INVALID_STATE"></a></p>
|
|
266
267
|
*/
|
|
267
268
|
NodeError["ERR_CRYPTO_INVALID_SCRYPT_PARAMS"] = "ERR_CRYPTO_INVALID_SCRYPT_PARAMS";
|
|
@@ -301,15 +302,9 @@ export var NodeError;
|
|
|
301
302
|
/**
|
|
302
303
|
* <p>The PBKDF2 algorithm failed for unspecified reasons. OpenSSL does not provide
|
|
303
304
|
* more details and therefore neither does Node.js.</p>
|
|
304
|
-
* <p><a id="ERR_CRYPTO_SCRYPT_INVALID_PARAMETER"></a></p>
|
|
305
|
-
*/
|
|
306
|
-
NodeError["ERR_CRYPTO_PBKDF2_ERROR"] = "ERR_CRYPTO_PBKDF2_ERROR";
|
|
307
|
-
/**
|
|
308
|
-
* <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
|
|
309
|
-
* outside their legal range.</p>
|
|
310
305
|
* <p><a id="ERR_CRYPTO_SCRYPT_NOT_SUPPORTED"></a></p>
|
|
311
306
|
*/
|
|
312
|
-
NodeError["
|
|
307
|
+
NodeError["ERR_CRYPTO_PBKDF2_ERROR"] = "ERR_CRYPTO_PBKDF2_ERROR";
|
|
313
308
|
/**
|
|
314
309
|
* <p>Node.js was compiled without <code>scrypt</code> support. Not possible with the official
|
|
315
310
|
* release binaries but can happen with custom builds, including distro builds.</p>
|
|
@@ -350,19 +345,9 @@ export var NodeError;
|
|
|
350
345
|
NodeError["ERR_DEBUGGER_ERROR"] = "ERR_DEBUGGER_ERROR";
|
|
351
346
|
/**
|
|
352
347
|
* <p>The <a href="debugger.html">debugger</a> timed out waiting for the required host/port to be free.</p>
|
|
353
|
-
* <p><a id="ERR_DLOPEN_DISABLED"></a></p>
|
|
354
|
-
*/
|
|
355
|
-
NodeError["ERR_DEBUGGER_STARTUP_ERROR"] = "ERR_DEBUGGER_STARTUP_ERROR";
|
|
356
|
-
/**
|
|
357
|
-
* <p>Loading native addons has been disabled using <a href="cli.html#--no-addons"><code>--no-addons</code></a>.</p>
|
|
358
|
-
* <p><a id="ERR_DLOPEN_FAILED"></a></p>
|
|
359
|
-
*/
|
|
360
|
-
NodeError["ERR_DLOPEN_DISABLED"] = "ERR_DLOPEN_DISABLED";
|
|
361
|
-
/**
|
|
362
|
-
* <p>A call to <code>process.dlopen()</code> failed.</p>
|
|
363
348
|
* <p><a id="ERR_DIR_CLOSED"></a></p>
|
|
364
349
|
*/
|
|
365
|
-
NodeError["
|
|
350
|
+
NodeError["ERR_DEBUGGER_STARTUP_ERROR"] = "ERR_DEBUGGER_STARTUP_ERROR";
|
|
366
351
|
/**
|
|
367
352
|
* <p>The <a href="fs.html#class-fsdir"><code>fs.Dir</code></a> was previously closed.</p>
|
|
368
353
|
* <p><a id="ERR_DIR_CONCURRENT_OPERATION"></a></p>
|
|
@@ -371,9 +356,19 @@ export var NodeError;
|
|
|
371
356
|
/**
|
|
372
357
|
* <p>A synchronous read or close call was attempted on an <a href="fs.html#class-fsdir"><code>fs.Dir</code></a> which has
|
|
373
358
|
* ongoing asynchronous operations.</p>
|
|
374
|
-
* <p><a id="
|
|
359
|
+
* <p><a id="ERR_DLOPEN_DISABLED"></a></p>
|
|
375
360
|
*/
|
|
376
361
|
NodeError["ERR_DIR_CONCURRENT_OPERATION"] = "ERR_DIR_CONCURRENT_OPERATION";
|
|
362
|
+
/**
|
|
363
|
+
* <p>Loading native addons has been disabled using <a href="cli.html#--no-addons"><code>--no-addons</code></a>.</p>
|
|
364
|
+
* <p><a id="ERR_DLOPEN_FAILED"></a></p>
|
|
365
|
+
*/
|
|
366
|
+
NodeError["ERR_DLOPEN_DISABLED"] = "ERR_DLOPEN_DISABLED";
|
|
367
|
+
/**
|
|
368
|
+
* <p>A call to <code>process.dlopen()</code> failed.</p>
|
|
369
|
+
* <p><a id="ERR_DNS_SET_SERVERS_FAILED"></a></p>
|
|
370
|
+
*/
|
|
371
|
+
NodeError["ERR_DLOPEN_FAILED"] = "ERR_DLOPEN_FAILED";
|
|
377
372
|
/**
|
|
378
373
|
* <p><code>c-ares</code> failed to set the DNS server.</p>
|
|
379
374
|
* <p><a id="ERR_DOMAIN_CALLBACK_NOT_AVAILABLE"></a></p>
|
|
@@ -459,16 +454,6 @@ export var NodeError;
|
|
|
459
454
|
* <p><a id="ERR_FS_CP_FIFO_PIPE"></a></p>
|
|
460
455
|
*/
|
|
461
456
|
NodeError["ERR_FS_CP_EINVAL"] = "ERR_FS_CP_EINVAL";
|
|
462
|
-
/**
|
|
463
|
-
* <p>An error is thrown when writing to an HTTP response which does not allow
|
|
464
|
-
* contents. <a id="ERR_HTTP_BODY_NOT_ALLOWED"></a></p>
|
|
465
|
-
*/
|
|
466
|
-
NodeError["ERR_HTTP_BODY_NOT_ALLOWED"] = "ERR_HTTP_BODY_NOT_ALLOWED";
|
|
467
|
-
/**
|
|
468
|
-
* <p>Response body size doesn't match with the specified content-length header value.</p>
|
|
469
|
-
* <p><a id="ERR_HTTP_CONTENT_LENGTH_MISMATCH"></a></p>
|
|
470
|
-
*/
|
|
471
|
-
NodeError["ERR_HTTP_CONTENT_LENGTH_MISMATCH"] = "ERR_HTTP_CONTENT_LENGTH_MISMATCH";
|
|
472
457
|
/**
|
|
473
458
|
* <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>
|
|
474
459
|
* <p><a id="ERR_FS_CP_NON_DIR_TO_DIR"></a></p>
|
|
@@ -504,51 +489,9 @@ export var NodeError;
|
|
|
504
489
|
/**
|
|
505
490
|
* <p>An attempt has been made to read a file whose size is larger than the maximum
|
|
506
491
|
* allowed size for a <code>Buffer</code>.</p>
|
|
507
|
-
* <p><a id="ERR_FS_INVALID_SYMLINK_TYPE"></a></p>
|
|
508
|
-
*/
|
|
509
|
-
NodeError["ERR_FS_FILE_TOO_LARGE"] = "ERR_FS_FILE_TOO_LARGE";
|
|
510
|
-
/**
|
|
511
|
-
* <p>An invalid symlink type was passed to the <a href="fs.html#fssymlinktarget-path-type-callback"><code>fs.symlink()</code></a> or
|
|
512
|
-
* <a href="fs.html#fssymlinksynctarget-path-type"><code>fs.symlinkSync()</code></a> methods.</p>
|
|
513
|
-
* <p><a id="ERR_HTTP_HEADERS_SENT"></a></p>
|
|
514
|
-
*/
|
|
515
|
-
NodeError["ERR_FS_INVALID_SYMLINK_TYPE"] = "ERR_FS_INVALID_SYMLINK_TYPE";
|
|
516
|
-
/**
|
|
517
|
-
* <p>An attempt was made to add more headers after the headers had already been sent.</p>
|
|
518
|
-
* <p><a id="ERR_HTTP_INVALID_HEADER_VALUE"></a></p>
|
|
519
|
-
*/
|
|
520
|
-
NodeError["ERR_HTTP_HEADERS_SENT"] = "ERR_HTTP_HEADERS_SENT";
|
|
521
|
-
/**
|
|
522
|
-
* <p>An invalid HTTP header value was specified.</p>
|
|
523
|
-
* <p><a id="ERR_HTTP_INVALID_STATUS_CODE"></a></p>
|
|
524
|
-
*/
|
|
525
|
-
NodeError["ERR_HTTP_INVALID_HEADER_VALUE"] = "ERR_HTTP_INVALID_HEADER_VALUE";
|
|
526
|
-
/**
|
|
527
|
-
* <p>Status code was outside the regular status code range (100-999).</p>
|
|
528
|
-
* <p><a id="ERR_HTTP_REQUEST_TIMEOUT"></a></p>
|
|
529
|
-
*/
|
|
530
|
-
NodeError["ERR_HTTP_INVALID_STATUS_CODE"] = "ERR_HTTP_INVALID_STATUS_CODE";
|
|
531
|
-
/**
|
|
532
|
-
* <p>The client has not sent the entire request within the allowed time.</p>
|
|
533
|
-
* <p><a id="ERR_HTTP_SOCKET_ASSIGNED"></a></p>
|
|
534
|
-
*/
|
|
535
|
-
NodeError["ERR_HTTP_REQUEST_TIMEOUT"] = "ERR_HTTP_REQUEST_TIMEOUT";
|
|
536
|
-
/**
|
|
537
|
-
* <p>The given <a href="http.html#class-httpserverresponse"><code>ServerResponse</code></a> was already assigned a socket.</p>
|
|
538
|
-
* <p><a id="ERR_HTTP_SOCKET_ENCODING"></a></p>
|
|
539
|
-
*/
|
|
540
|
-
NodeError["ERR_HTTP_SOCKET_ASSIGNED"] = "ERR_HTTP_SOCKET_ASSIGNED";
|
|
541
|
-
/**
|
|
542
|
-
* <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>
|
|
543
|
-
* <p><a id="ERR_HTTP_TRAILER_INVALID"></a></p>
|
|
544
|
-
*/
|
|
545
|
-
NodeError["ERR_HTTP_SOCKET_ENCODING"] = "ERR_HTTP_SOCKET_ENCODING";
|
|
546
|
-
/**
|
|
547
|
-
* <p>The <code>Trailer</code> header was set even though the transfer encoding does not support
|
|
548
|
-
* that.</p>
|
|
549
492
|
* <p><a id="ERR_HTTP2_ALTSVC_INVALID_ORIGIN"></a></p>
|
|
550
493
|
*/
|
|
551
|
-
NodeError["
|
|
494
|
+
NodeError["ERR_FS_FILE_TOO_LARGE"] = "ERR_FS_FILE_TOO_LARGE";
|
|
552
495
|
/**
|
|
553
496
|
* <p>HTTP/2 ALTSVC frames require a valid origin.</p>
|
|
554
497
|
* <p><a id="ERR_HTTP2_ALTSVC_LENGTH"></a></p>
|
|
@@ -585,15 +528,9 @@ export var NodeError;
|
|
|
585
528
|
/**
|
|
586
529
|
* <p>New HTTP/2 Streams may not be opened after the <code>Http2Session</code> has received a
|
|
587
530
|
* <code>GOAWAY</code> frame from the connected peer.</p>
|
|
588
|
-
* <p><a id="ERR_HTTP2_HEADER_SINGLE_VALUE"></a></p>
|
|
589
|
-
*/
|
|
590
|
-
NodeError["ERR_HTTP2_GOAWAY_SESSION"] = "ERR_HTTP2_GOAWAY_SESSION";
|
|
591
|
-
/**
|
|
592
|
-
* <p>Multiple values were provided for an HTTP/2 header field that was required to
|
|
593
|
-
* have only a single value.</p>
|
|
594
531
|
* <p><a id="ERR_HTTP2_HEADERS_AFTER_RESPOND"></a></p>
|
|
595
532
|
*/
|
|
596
|
-
NodeError["
|
|
533
|
+
NodeError["ERR_HTTP2_GOAWAY_SESSION"] = "ERR_HTTP2_GOAWAY_SESSION";
|
|
597
534
|
/**
|
|
598
535
|
* <p>An additional headers was specified after an HTTP/2 response was initiated.</p>
|
|
599
536
|
* <p><a id="ERR_HTTP2_HEADERS_SENT"></a></p>
|
|
@@ -601,9 +538,15 @@ export var NodeError;
|
|
|
601
538
|
NodeError["ERR_HTTP2_HEADERS_AFTER_RESPOND"] = "ERR_HTTP2_HEADERS_AFTER_RESPOND";
|
|
602
539
|
/**
|
|
603
540
|
* <p>An attempt was made to send multiple response headers.</p>
|
|
604
|
-
* <p><a id="
|
|
541
|
+
* <p><a id="ERR_HTTP2_HEADER_SINGLE_VALUE"></a></p>
|
|
605
542
|
*/
|
|
606
543
|
NodeError["ERR_HTTP2_HEADERS_SENT"] = "ERR_HTTP2_HEADERS_SENT";
|
|
544
|
+
/**
|
|
545
|
+
* <p>Multiple values were provided for an HTTP/2 header field that was required to
|
|
546
|
+
* have only a single value.</p>
|
|
547
|
+
* <p><a id="ERR_HTTP2_INFO_STATUS_NOT_ALLOWED"></a></p>
|
|
548
|
+
*/
|
|
549
|
+
NodeError["ERR_HTTP2_HEADER_SINGLE_VALUE"] = "ERR_HTTP2_HEADER_SINGLE_VALUE";
|
|
607
550
|
/**
|
|
608
551
|
* <p>Informational HTTP status codes (<code>1xx</code>) may not be set as the response status
|
|
609
552
|
* code on HTTP/2 responses.</p>
|
|
@@ -817,25 +760,72 @@ export var NodeError;
|
|
|
817
760
|
/**
|
|
818
761
|
* <p><code>http2.connect()</code> was passed a URL that uses any protocol other than <code>http:</code> or
|
|
819
762
|
* <code>https:</code>.</p>
|
|
820
|
-
* <p><a id="
|
|
763
|
+
* <p><a id="ERR_HTTP_BODY_NOT_ALLOWED"></a></p>
|
|
821
764
|
*/
|
|
822
765
|
NodeError["ERR_HTTP2_UNSUPPORTED_PROTOCOL"] = "ERR_HTTP2_UNSUPPORTED_PROTOCOL";
|
|
823
766
|
/**
|
|
824
|
-
* <p>An
|
|
825
|
-
*
|
|
767
|
+
* <p>An error is thrown when writing to an HTTP response which does not allow
|
|
768
|
+
* contents.</p>
|
|
769
|
+
* <p><a id="ERR_HTTP_CONTENT_LENGTH_MISMATCH"></a></p>
|
|
826
770
|
*/
|
|
827
|
-
NodeError["
|
|
771
|
+
NodeError["ERR_HTTP_BODY_NOT_ALLOWED"] = "ERR_HTTP_BODY_NOT_ALLOWED";
|
|
828
772
|
/**
|
|
829
|
-
* <p>
|
|
830
|
-
*
|
|
773
|
+
* <p>Response body size doesn't match with the specified content-length header value.</p>
|
|
774
|
+
* <p><a id="ERR_HTTP_HEADERS_SENT"></a></p>
|
|
775
|
+
*/
|
|
776
|
+
NodeError["ERR_HTTP_CONTENT_LENGTH_MISMATCH"] = "ERR_HTTP_CONTENT_LENGTH_MISMATCH";
|
|
777
|
+
/**
|
|
778
|
+
* <p>An attempt was made to add more headers after the headers had already been sent.</p>
|
|
779
|
+
* <p><a id="ERR_HTTP_INVALID_HEADER_VALUE"></a></p>
|
|
780
|
+
*/
|
|
781
|
+
NodeError["ERR_HTTP_HEADERS_SENT"] = "ERR_HTTP_HEADERS_SENT";
|
|
782
|
+
/**
|
|
783
|
+
* <p>An invalid HTTP header value was specified.</p>
|
|
784
|
+
* <p><a id="ERR_HTTP_INVALID_STATUS_CODE"></a></p>
|
|
785
|
+
*/
|
|
786
|
+
NodeError["ERR_HTTP_INVALID_HEADER_VALUE"] = "ERR_HTTP_INVALID_HEADER_VALUE";
|
|
787
|
+
/**
|
|
788
|
+
* <p>Status code was outside the regular status code range (100-999).</p>
|
|
789
|
+
* <p><a id="ERR_HTTP_REQUEST_TIMEOUT"></a></p>
|
|
790
|
+
*/
|
|
791
|
+
NodeError["ERR_HTTP_INVALID_STATUS_CODE"] = "ERR_HTTP_INVALID_STATUS_CODE";
|
|
792
|
+
/**
|
|
793
|
+
* <p>The client has not sent the entire request within the allowed time.</p>
|
|
794
|
+
* <p><a id="ERR_HTTP_SOCKET_ASSIGNED"></a></p>
|
|
795
|
+
*/
|
|
796
|
+
NodeError["ERR_HTTP_REQUEST_TIMEOUT"] = "ERR_HTTP_REQUEST_TIMEOUT";
|
|
797
|
+
/**
|
|
798
|
+
* <p>The given <a href="http.html#class-httpserverresponse"><code>ServerResponse</code></a> was already assigned a socket.</p>
|
|
799
|
+
* <p><a id="ERR_HTTP_SOCKET_ENCODING"></a></p>
|
|
800
|
+
*/
|
|
801
|
+
NodeError["ERR_HTTP_SOCKET_ASSIGNED"] = "ERR_HTTP_SOCKET_ASSIGNED";
|
|
802
|
+
/**
|
|
803
|
+
* <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>
|
|
804
|
+
* <p><a id="ERR_HTTP_TRAILER_INVALID"></a></p>
|
|
805
|
+
*/
|
|
806
|
+
NodeError["ERR_HTTP_SOCKET_ENCODING"] = "ERR_HTTP_SOCKET_ENCODING";
|
|
807
|
+
/**
|
|
808
|
+
* <p>The <code>Trailer</code> header was set even though the transfer encoding does not support
|
|
809
|
+
* that.</p>
|
|
810
|
+
* <p><a id="ERR_ILLEGAL_CONSTRUCTOR"></a></p>
|
|
811
|
+
*/
|
|
812
|
+
NodeError["ERR_HTTP_TRAILER_INVALID"] = "ERR_HTTP_TRAILER_INVALID";
|
|
813
|
+
/**
|
|
814
|
+
* <p>An attempt was made to construct an object using a non-public constructor.</p>
|
|
831
815
|
* <p><a id="ERR_IMPORT_ATTRIBUTE_MISSING"></a></p>
|
|
832
816
|
*/
|
|
833
|
-
NodeError["
|
|
817
|
+
NodeError["ERR_ILLEGAL_CONSTRUCTOR"] = "ERR_ILLEGAL_CONSTRUCTOR";
|
|
834
818
|
/**
|
|
835
819
|
* <p>An import attribute is missing, preventing the specified module to be imported.</p>
|
|
836
|
-
* <p><a id="
|
|
820
|
+
* <p><a id="ERR_IMPORT_ATTRIBUTE_TYPE_INCOMPATIBLE"></a></p>
|
|
837
821
|
*/
|
|
838
822
|
NodeError["ERR_IMPORT_ATTRIBUTE_MISSING"] = "ERR_IMPORT_ATTRIBUTE_MISSING";
|
|
823
|
+
/**
|
|
824
|
+
* <p>An import <code>type</code> attribute was provided, but the specified module is of a
|
|
825
|
+
* different type.</p>
|
|
826
|
+
* <p><a id="ERR_IMPORT_ATTRIBUTE_UNSUPPORTED"></a></p>
|
|
827
|
+
*/
|
|
828
|
+
NodeError["ERR_IMPORT_ATTRIBUTE_TYPE_INCOMPATIBLE"] = "ERR_IMPORT_ATTRIBUTE_TYPE_INCOMPATIBLE";
|
|
839
829
|
/**
|
|
840
830
|
* <p>An import attribute is not supported by this version of Node.js.</p>
|
|
841
831
|
* <p><a id="ERR_INCOMPATIBLE_OPTION_PAIR"></a></p>
|
|
@@ -1021,15 +1011,9 @@ export var NodeError;
|
|
|
1021
1011
|
/**
|
|
1022
1012
|
* <p>The <code>package.json</code> <a href="packages.html#exports"><code>"exports"</code></a> field contains an invalid target mapping
|
|
1023
1013
|
* value for the attempted module resolution.</p>
|
|
1024
|
-
* <p><a id="ERR_INVALID_PERFORMANCE_MARK"></a></p>
|
|
1025
|
-
*/
|
|
1026
|
-
NodeError["ERR_INVALID_PACKAGE_TARGET"] = "ERR_INVALID_PACKAGE_TARGET";
|
|
1027
|
-
/**
|
|
1028
|
-
* <p>While using the Performance Timing API (<code>perf_hooks</code>), a performance mark is
|
|
1029
|
-
* invalid.</p>
|
|
1030
1014
|
* <p><a id="ERR_INVALID_PROTOCOL"></a></p>
|
|
1031
1015
|
*/
|
|
1032
|
-
NodeError["
|
|
1016
|
+
NodeError["ERR_INVALID_PACKAGE_TARGET"] = "ERR_INVALID_PACKAGE_TARGET";
|
|
1033
1017
|
/**
|
|
1034
1018
|
* <p>An invalid <code>options.protocol</code> was passed to <code>http.request()</code>.</p>
|
|
1035
1019
|
* <p><a id="ERR_INVALID_REPL_EVAL_CONFIG"></a></p>
|
|
@@ -1095,9 +1079,16 @@ export var NodeError;
|
|
|
1095
1079
|
* <a href="url.html#new-urlsearchparamsiterable"><code>URLSearchParams</code> constructor</a> did not
|
|
1096
1080
|
* represent a <code>[name, value]</code> tuple – that is, if an element is not iterable, or
|
|
1097
1081
|
* does not consist of exactly two elements.</p>
|
|
1098
|
-
* <p><a id="
|
|
1082
|
+
* <p><a id="ERR_INVALID_TYPESCRIPT_SYNTAX"></a></p>
|
|
1099
1083
|
*/
|
|
1100
1084
|
NodeError["ERR_INVALID_TUPLE"] = "ERR_INVALID_TUPLE";
|
|
1085
|
+
/**
|
|
1086
|
+
* <p>The provided TypeScript syntax is not valid or unsupported.
|
|
1087
|
+
* This could happen when using TypeScript syntax that requires
|
|
1088
|
+
* transformation with <a href="typescript.html#type-stripping">type-stripping</a>.</p>
|
|
1089
|
+
* <p><a id="ERR_INVALID_URI"></a></p>
|
|
1090
|
+
*/
|
|
1091
|
+
NodeError["ERR_INVALID_TYPESCRIPT_SYNTAX"] = "ERR_INVALID_TYPESCRIPT_SYNTAX";
|
|
1101
1092
|
/**
|
|
1102
1093
|
* <p>An invalid URI was passed.</p>
|
|
1103
1094
|
* <p><a id="ERR_INVALID_URL"></a></p>
|
|
@@ -1242,22 +1233,14 @@ export var NodeError;
|
|
|
1242
1233
|
/**
|
|
1243
1234
|
* <p>An error occurred while attempting to retrieve the JavaScript <code>undefined</code>
|
|
1244
1235
|
* value.</p>
|
|
1245
|
-
* <p><a id="
|
|
1236
|
+
* <p><a id="ERR_NON_CONTEXT_AWARE_DISABLED"></a></p>
|
|
1246
1237
|
*/
|
|
1247
1238
|
NodeError["ERR_NAPI_TSFN_GET_UNDEFINED"] = "ERR_NAPI_TSFN_GET_UNDEFINED";
|
|
1248
1239
|
/**
|
|
1249
|
-
* <p>
|
|
1250
|
-
* thread-safe function in an idle loop. This error indicates that an error
|
|
1251
|
-
* has occurred when attempting to start the loop.</p>
|
|
1252
|
-
* <p><a id="ERR_NAPI_TSFN_STOP_IDLE_LOOP"></a></p>
|
|
1253
|
-
*/
|
|
1254
|
-
NodeError["ERR_NAPI_TSFN_START_IDLE_LOOP"] = "ERR_NAPI_TSFN_START_IDLE_LOOP";
|
|
1255
|
-
/**
|
|
1256
|
-
* <p>Once no more items are left in the queue, the idle loop must be suspended. This
|
|
1257
|
-
* error indicates that the idle loop has failed to stop.</p>
|
|
1240
|
+
* <p>A non-context-aware native addon was loaded in a process that disallows them.</p>
|
|
1258
1241
|
* <p><a id="ERR_NOT_BUILDING_SNAPSHOT"></a></p>
|
|
1259
1242
|
*/
|
|
1260
|
-
NodeError["
|
|
1243
|
+
NodeError["ERR_NON_CONTEXT_AWARE_DISABLED"] = "ERR_NON_CONTEXT_AWARE_DISABLED";
|
|
1261
1244
|
/**
|
|
1262
1245
|
* <p>An attempt was made to use operations that can only be used when building
|
|
1263
1246
|
* V8 startup snapshot even though Node.js isn't building one.</p>
|
|
@@ -1285,14 +1268,21 @@ export var NodeError;
|
|
|
1285
1268
|
/**
|
|
1286
1269
|
* <p>An attempt was made to use features that require <a href="intl.html#internationalization-support">ICU</a>, but Node.js was not
|
|
1287
1270
|
* compiled with ICU support.</p>
|
|
1288
|
-
* <p><a id="
|
|
1271
|
+
* <p><a id="ERR_NO_TYPESCRIPT"></a></p>
|
|
1289
1272
|
*/
|
|
1290
1273
|
NodeError["ERR_NO_ICU"] = "ERR_NO_ICU";
|
|
1291
1274
|
/**
|
|
1292
|
-
* <p>
|
|
1275
|
+
* <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
|
|
1276
|
+
* compiled with TypeScript support.</p>
|
|
1277
|
+
* <p><a id="ERR_OPERATION_FAILED"></a></p>
|
|
1278
|
+
*/
|
|
1279
|
+
NodeError["ERR_NO_TYPESCRIPT"] = "ERR_NO_TYPESCRIPT";
|
|
1280
|
+
/**
|
|
1281
|
+
* <p>An operation failed. This is typically used to signal the general failure
|
|
1282
|
+
* of an asynchronous operation.</p>
|
|
1293
1283
|
* <p><a id="ERR_OUT_OF_RANGE"></a></p>
|
|
1294
1284
|
*/
|
|
1295
|
-
NodeError["
|
|
1285
|
+
NodeError["ERR_OPERATION_FAILED"] = "ERR_OPERATION_FAILED";
|
|
1296
1286
|
/**
|
|
1297
1287
|
* <p>A given value is out of the accepted range.</p>
|
|
1298
1288
|
* <p><a id="ERR_PACKAGE_IMPORT_NOT_DEFINED"></a></p>
|
|
@@ -1345,33 +1335,49 @@ export var NodeError;
|
|
|
1345
1335
|
* <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
|
|
1346
1336
|
* <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
|
|
1347
1337
|
* object.</p>
|
|
1348
|
-
* <p><a id="
|
|
1338
|
+
* <p><a id="ERR_QUIC_CONNECTION_FAILED"></a></p>
|
|
1349
1339
|
*/
|
|
1350
1340
|
NodeError["ERR_PROTO_ACCESS"] = "ERR_PROTO_ACCESS";
|
|
1351
1341
|
/**
|
|
1352
|
-
* <p>
|
|
1353
|
-
* a
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
*
|
|
1358
|
-
*
|
|
1342
|
+
* <p>Establishing a QUIC connection failed.</p>
|
|
1343
|
+
* <p><a id="ERR_QUIC_ENDPOINT_CLOSED"></a></p>
|
|
1344
|
+
*/
|
|
1345
|
+
NodeError["ERR_QUIC_CONNECTION_FAILED"] = "ERR_QUIC_CONNECTION_FAILED";
|
|
1346
|
+
/**
|
|
1347
|
+
* <p>A QUIC Endpoint closed with an error.</p>
|
|
1348
|
+
* <p><a id="ERR_QUIC_OPEN_STREAM_FAILED"></a></p>
|
|
1349
|
+
*/
|
|
1350
|
+
NodeError["ERR_QUIC_ENDPOINT_CLOSED"] = "ERR_QUIC_ENDPOINT_CLOSED";
|
|
1351
|
+
/**
|
|
1352
|
+
* <p>Opening a QUIC stream failed.</p>
|
|
1359
1353
|
* <p><a id="ERR_REQUIRE_ASYNC_MODULE"></a></p>
|
|
1360
1354
|
*/
|
|
1361
|
-
NodeError["
|
|
1355
|
+
NodeError["ERR_QUIC_OPEN_STREAM_FAILED"] = "ERR_QUIC_OPEN_STREAM_FAILED";
|
|
1362
1356
|
/**
|
|
1363
|
-
* <p>When trying to <code>require()</code> a <a href="esm.html">ES Module</a
|
|
1364
|
-
*
|
|
1357
|
+
* <p>When trying to <code>require()</code> a <a href="esm.html">ES Module</a>, the module turns out to be asynchronous.
|
|
1358
|
+
* That is, it contains top-level await.</p>
|
|
1365
1359
|
* <p>To see where the top-level await is, use
|
|
1366
1360
|
* <code>--experimental-print-required-tla</code> (this would execute the modules
|
|
1367
1361
|
* before looking for the top-level awaits).</p>
|
|
1368
|
-
* <p><a id="
|
|
1362
|
+
* <p><a id="ERR_REQUIRE_CYCLE_MODULE"></a></p>
|
|
1369
1363
|
*/
|
|
1370
1364
|
NodeError["ERR_REQUIRE_ASYNC_MODULE"] = "ERR_REQUIRE_ASYNC_MODULE";
|
|
1365
|
+
/**
|
|
1366
|
+
* <p>When trying to <code>require()</code> a <a href="esm.html">ES Module</a>, a CommonJS to ESM or ESM to CommonJS edge
|
|
1367
|
+
* participates in an immediate cycle.
|
|
1368
|
+
* This is not allowed because ES Modules cannot be evaluated while they are
|
|
1369
|
+
* already being evaluated.</p>
|
|
1370
|
+
* <p>To avoid the cycle, the <code>require()</code> call involved in a cycle should not happen
|
|
1371
|
+
* at the top-level of either an ES Module (via <code>createRequire()</code>) or a CommonJS
|
|
1372
|
+
* module, and should be done lazily in an inner function.</p>
|
|
1373
|
+
* <p><a id="ERR_REQUIRE_ESM"></a></p>
|
|
1374
|
+
*/
|
|
1375
|
+
NodeError["ERR_REQUIRE_CYCLE_MODULE"] = "ERR_REQUIRE_CYCLE_MODULE";
|
|
1371
1376
|
/**
|
|
1372
1377
|
* <p>An attempt was made to <code>require()</code> an <a href="esm.html">ES Module</a>.</p>
|
|
1373
|
-
* <p>
|
|
1374
|
-
*
|
|
1378
|
+
* <p>This error has been deprecated since <code>require()</code> now supports loading synchronous
|
|
1379
|
+
* ES modules. When <code>require()</code> encounters an ES module that contains top-level
|
|
1380
|
+
* <code>await</code>, it will throw <a href="#err_require_async_module"><code>ERR_REQUIRE_ASYNC_MODULE</code></a> instead.</p>
|
|
1375
1381
|
* <p><a id="ERR_SCRIPT_EXECUTION_INTERRUPTED"></a></p>
|
|
1376
1382
|
*/
|
|
1377
1383
|
NodeError["ERR_REQUIRE_ESM"] = "ERR_REQUIRE_ESM";
|
|
@@ -1464,9 +1470,19 @@ export var NodeError;
|
|
|
1464
1470
|
NodeError["ERR_SOCKET_DGRAM_NOT_CONNECTED"] = "ERR_SOCKET_DGRAM_NOT_CONNECTED";
|
|
1465
1471
|
/**
|
|
1466
1472
|
* <p>A call was made and the UDP subsystem was not running.</p>
|
|
1467
|
-
* <p><a id="
|
|
1473
|
+
* <p><a id="ERR_SOURCE_MAP_CORRUPT"></a></p>
|
|
1468
1474
|
*/
|
|
1469
1475
|
NodeError["ERR_SOCKET_DGRAM_NOT_RUNNING"] = "ERR_SOCKET_DGRAM_NOT_RUNNING";
|
|
1476
|
+
/**
|
|
1477
|
+
* <p>The source map could not be parsed because it does not exist, or is corrupt.</p>
|
|
1478
|
+
* <p><a id="ERR_SOURCE_MAP_MISSING_SOURCE"></a></p>
|
|
1479
|
+
*/
|
|
1480
|
+
NodeError["ERR_SOURCE_MAP_CORRUPT"] = "ERR_SOURCE_MAP_CORRUPT";
|
|
1481
|
+
/**
|
|
1482
|
+
* <p>A file imported from a source map was not found.</p>
|
|
1483
|
+
* <p><a id="ERR_SQLITE_ERROR"></a></p>
|
|
1484
|
+
*/
|
|
1485
|
+
NodeError["ERR_SOURCE_MAP_MISSING_SOURCE"] = "ERR_SOURCE_MAP_MISSING_SOURCE";
|
|
1470
1486
|
/**
|
|
1471
1487
|
* <p>An error was returned from <a href="sqlite.html">SQLite</a>.</p>
|
|
1472
1488
|
* <p><a id="ERR_SRI_PARSE"></a></p>
|
|
@@ -1510,9 +1526,14 @@ export var NodeError;
|
|
|
1510
1526
|
/**
|
|
1511
1527
|
* <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
|
|
1512
1528
|
* pushed to the stream.</p>
|
|
1513
|
-
* <p><a id="
|
|
1529
|
+
* <p><a id="ERR_STREAM_UNABLE_TO_PIPE"></a></p>
|
|
1514
1530
|
*/
|
|
1515
1531
|
NodeError["ERR_STREAM_PUSH_AFTER_EOF"] = "ERR_STREAM_PUSH_AFTER_EOF";
|
|
1532
|
+
/**
|
|
1533
|
+
* <p>An attempt was made to pipe to a closed or destroyed stream in a pipeline.</p>
|
|
1534
|
+
* <p><a id="ERR_STREAM_UNSHIFT_AFTER_END_EVENT"></a></p>
|
|
1535
|
+
*/
|
|
1536
|
+
NodeError["ERR_STREAM_UNABLE_TO_PIPE"] = "ERR_STREAM_UNABLE_TO_PIPE";
|
|
1516
1537
|
/**
|
|
1517
1538
|
* <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
|
|
1518
1539
|
* emitted.</p>
|
|
@@ -1643,14 +1664,14 @@ export var NodeError;
|
|
|
1643
1664
|
/**
|
|
1644
1665
|
* <p>Attempting to set a TLS protocol <code>minVersion</code> or <code>maxVersion</code> conflicts with an
|
|
1645
1666
|
* attempt to set the <code>secureProtocol</code> explicitly. Use one mechanism or the other.</p>
|
|
1646
|
-
* <p><a id="
|
|
1667
|
+
* <p><a id="ERR_TLS_PSK_SET_IDENTITY_HINT_FAILED"></a></p>
|
|
1647
1668
|
*/
|
|
1648
1669
|
NodeError["ERR_TLS_PROTOCOL_VERSION_CONFLICT"] = "ERR_TLS_PROTOCOL_VERSION_CONFLICT";
|
|
1649
1670
|
/**
|
|
1650
1671
|
* <p>Failed to set PSK identity hint. Hint may be too long.</p>
|
|
1651
1672
|
* <p><a id="ERR_TLS_RENEGOTIATION_DISABLED"></a></p>
|
|
1652
1673
|
*/
|
|
1653
|
-
NodeError["
|
|
1674
|
+
NodeError["ERR_TLS_PSK_SET_IDENTITY_HINT_FAILED"] = "ERR_TLS_PSK_SET_IDENTITY_HINT_FAILED";
|
|
1654
1675
|
/**
|
|
1655
1676
|
* <p>An attempt was made to renegotiate TLS on a socket instance with renegotiation
|
|
1656
1677
|
* disabled.</p>
|
|
@@ -1774,9 +1795,14 @@ export var NodeError;
|
|
|
1774
1795
|
NodeError["ERR_UNSUPPORTED_DIR_IMPORT"] = "ERR_UNSUPPORTED_DIR_IMPORT";
|
|
1775
1796
|
/**
|
|
1776
1797
|
* <p><code>import</code> with URL schemes other than <code>file</code> and <code>data</code> is unsupported.</p>
|
|
1777
|
-
* <p><a id="
|
|
1798
|
+
* <p><a id="ERR_UNSUPPORTED_NODE_MODULES_TYPE_STRIPPING"></a></p>
|
|
1778
1799
|
*/
|
|
1779
1800
|
NodeError["ERR_UNSUPPORTED_ESM_URL_SCHEME"] = "ERR_UNSUPPORTED_ESM_URL_SCHEME";
|
|
1801
|
+
/**
|
|
1802
|
+
* <p>Type stripping is not supported for files descendent of a <code>node_modules</code> directory.</p>
|
|
1803
|
+
* <p><a id="ERR_UNSUPPORTED_RESOLVE_REQUEST"></a></p>
|
|
1804
|
+
*/
|
|
1805
|
+
NodeError["ERR_UNSUPPORTED_NODE_MODULES_TYPE_STRIPPING"] = "ERR_UNSUPPORTED_NODE_MODULES_TYPE_STRIPPING";
|
|
1780
1806
|
/**
|
|
1781
1807
|
* <p>An attempt was made to resolve an invalid module referrer. This can happen when
|
|
1782
1808
|
* importing or calling <code>import.meta.resolve()</code> with either:</p>
|
|
@@ -1803,19 +1829,19 @@ export var NodeError;
|
|
|
1803
1829
|
/**
|
|
1804
1830
|
* <p>While using the Performance Timing API (<code>perf_hooks</code>), no valid performance
|
|
1805
1831
|
* entry types are found.</p>
|
|
1806
|
-
* <p><a id="
|
|
1832
|
+
* <p><a id="ERR_VM_DYNAMIC_IMPORT_CALLBACK_MISSING"></a></p>
|
|
1807
1833
|
*/
|
|
1808
1834
|
NodeError["ERR_VALID_PERFORMANCE_ENTRY_TYPE"] = "ERR_VALID_PERFORMANCE_ENTRY_TYPE";
|
|
1809
1835
|
/**
|
|
1810
|
-
* <p>A dynamic import callback was
|
|
1811
|
-
* <p><a id="
|
|
1836
|
+
* <p>A dynamic import callback was not specified.</p>
|
|
1837
|
+
* <p><a id="ERR_VM_DYNAMIC_IMPORT_CALLBACK_MISSING_FLAG"></a></p>
|
|
1812
1838
|
*/
|
|
1813
|
-
NodeError["
|
|
1839
|
+
NodeError["ERR_VM_DYNAMIC_IMPORT_CALLBACK_MISSING"] = "ERR_VM_DYNAMIC_IMPORT_CALLBACK_MISSING";
|
|
1814
1840
|
/**
|
|
1815
|
-
* <p>A dynamic import callback was
|
|
1841
|
+
* <p>A dynamic import callback was invoked without <code>--experimental-vm-modules</code>.</p>
|
|
1816
1842
|
* <p><a id="ERR_VM_MODULE_ALREADY_LINKED"></a></p>
|
|
1817
1843
|
*/
|
|
1818
|
-
NodeError["
|
|
1844
|
+
NodeError["ERR_VM_DYNAMIC_IMPORT_CALLBACK_MISSING_FLAG"] = "ERR_VM_DYNAMIC_IMPORT_CALLBACK_MISSING_FLAG";
|
|
1819
1845
|
/**
|
|
1820
1846
|
* <p>The module attempted to be linked is not eligible for linking, because of one of
|
|
1821
1847
|
* the following reasons:</p>
|
|
@@ -1883,25 +1909,9 @@ export var NodeError;
|
|
|
1883
1909
|
/**
|
|
1884
1910
|
* <p>The <code>execArgv</code> option passed to the <code>Worker</code> constructor contains
|
|
1885
1911
|
* invalid flags.</p>
|
|
1886
|
-
* <p><a id="ERR_WORKER_NOT_RUNNING"></a></p>
|
|
1887
|
-
*/
|
|
1888
|
-
NodeError["ERR_WORKER_INVALID_EXEC_ARGV"] = "ERR_WORKER_INVALID_EXEC_ARGV";
|
|
1889
|
-
/**
|
|
1890
|
-
* <p>An operation failed because the <code>Worker</code> instance is not currently running.</p>
|
|
1891
|
-
* <p><a id="ERR_WORKER_OUT_OF_MEMORY"></a></p>
|
|
1892
|
-
*/
|
|
1893
|
-
NodeError["ERR_WORKER_NOT_RUNNING"] = "ERR_WORKER_NOT_RUNNING";
|
|
1894
|
-
/**
|
|
1895
|
-
* <p>The <code>Worker</code> instance terminated because it reached its memory limit.</p>
|
|
1896
|
-
* <p><a id="ERR_WORKER_PATH"></a></p>
|
|
1897
|
-
*/
|
|
1898
|
-
NodeError["ERR_WORKER_OUT_OF_MEMORY"] = "ERR_WORKER_OUT_OF_MEMORY";
|
|
1899
|
-
/**
|
|
1900
|
-
* <p>The path for the main script of a worker is neither an absolute path
|
|
1901
|
-
* nor a relative path starting with <code>./</code> or <code>../</code>.</p>
|
|
1902
1912
|
* <p><a id="ERR_WORKER_MESSAGING_ERRORED"></a></p>
|
|
1903
1913
|
*/
|
|
1904
|
-
NodeError["
|
|
1914
|
+
NodeError["ERR_WORKER_INVALID_EXEC_ARGV"] = "ERR_WORKER_INVALID_EXEC_ARGV";
|
|
1905
1915
|
/**
|
|
1906
1916
|
* <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>
|
|
1907
1917
|
* <p><a id="ERR_WORKER_MESSAGING_FAILED"></a></p>
|
|
@@ -1919,9 +1929,25 @@ export var NodeError;
|
|
|
1919
1929
|
NodeError["ERR_WORKER_MESSAGING_SAME_THREAD"] = "ERR_WORKER_MESSAGING_SAME_THREAD";
|
|
1920
1930
|
/**
|
|
1921
1931
|
* <p>Sending a message via <a href="worker_threads.html#workerpostmessagetothreadthreadid-value-transferlist-timeout"><code>postMessageToThread()</code></a> timed out.</p>
|
|
1922
|
-
* <p><a id="
|
|
1932
|
+
* <p><a id="ERR_WORKER_NOT_RUNNING"></a></p>
|
|
1923
1933
|
*/
|
|
1924
1934
|
NodeError["ERR_WORKER_MESSAGING_TIMEOUT"] = "ERR_WORKER_MESSAGING_TIMEOUT";
|
|
1935
|
+
/**
|
|
1936
|
+
* <p>An operation failed because the <code>Worker</code> instance is not currently running.</p>
|
|
1937
|
+
* <p><a id="ERR_WORKER_OUT_OF_MEMORY"></a></p>
|
|
1938
|
+
*/
|
|
1939
|
+
NodeError["ERR_WORKER_NOT_RUNNING"] = "ERR_WORKER_NOT_RUNNING";
|
|
1940
|
+
/**
|
|
1941
|
+
* <p>The <code>Worker</code> instance terminated because it reached its memory limit.</p>
|
|
1942
|
+
* <p><a id="ERR_WORKER_PATH"></a></p>
|
|
1943
|
+
*/
|
|
1944
|
+
NodeError["ERR_WORKER_OUT_OF_MEMORY"] = "ERR_WORKER_OUT_OF_MEMORY";
|
|
1945
|
+
/**
|
|
1946
|
+
* <p>The path for the main script of a worker is neither an absolute path
|
|
1947
|
+
* nor a relative path starting with <code>./</code> or <code>../</code>.</p>
|
|
1948
|
+
* <p><a id="ERR_WORKER_UNSERIALIZABLE_ERROR"></a></p>
|
|
1949
|
+
*/
|
|
1950
|
+
NodeError["ERR_WORKER_PATH"] = "ERR_WORKER_PATH";
|
|
1925
1951
|
/**
|
|
1926
1952
|
* <p>All attempts at serializing an uncaught exception from a worker thread failed.</p>
|
|
1927
1953
|
* <p><a id="ERR_WORKER_UNSUPPORTED_OPERATION"></a></p>
|
|
@@ -1934,24 +1960,24 @@ export var NodeError;
|
|
|
1934
1960
|
NodeError["ERR_WORKER_UNSUPPORTED_OPERATION"] = "ERR_WORKER_UNSUPPORTED_OPERATION";
|
|
1935
1961
|
/**
|
|
1936
1962
|
* <p>Creation of a <a href="zlib.html"><code>zlib</code></a> object failed due to incorrect configuration.</p>
|
|
1937
|
-
* <p><a id="
|
|
1963
|
+
* <p><a id="HPE_CHUNK_EXTENSIONS_OVERFLOW"></a></p>
|
|
1938
1964
|
*/
|
|
1939
1965
|
NodeError["ERR_ZLIB_INITIALIZATION_FAILED"] = "ERR_ZLIB_INITIALIZATION_FAILED";
|
|
1966
|
+
/**
|
|
1967
|
+
* <p>Too much data was received for a chunk extensions. In order to protect against
|
|
1968
|
+
* malicious or malconfigured clients, if more than 16 KiB of data is received
|
|
1969
|
+
* then an <code>Error</code> with this code will be emitted.</p>
|
|
1970
|
+
* <p><a id="HPE_HEADER_OVERFLOW"></a></p>
|
|
1971
|
+
*/
|
|
1972
|
+
NodeError["HPE_CHUNK_EXTENSIONS_OVERFLOW"] = "HPE_CHUNK_EXTENSIONS_OVERFLOW";
|
|
1940
1973
|
/**
|
|
1941
1974
|
* <p>Too much HTTP header data was received. In order to protect against malicious or
|
|
1942
1975
|
* malconfigured clients, if more than <code>maxHeaderSize</code> of HTTP header data is received then
|
|
1943
1976
|
* HTTP parsing will abort without a request or response object being created, and
|
|
1944
1977
|
* an <code>Error</code> with this code will be emitted.</p>
|
|
1945
|
-
* <p><a id="HPE_CHUNK_EXTENSIONS_OVERFLOW"></a></p>
|
|
1946
|
-
*/
|
|
1947
|
-
NodeError["HPE_HEADER_OVERFLOW"] = "HPE_HEADER_OVERFLOW";
|
|
1948
|
-
/**
|
|
1949
|
-
* <p>Too much data was received for a chunk extensions. In order to protect against
|
|
1950
|
-
* malicious or malconfigured clients, if more than 16 KiB of data is received
|
|
1951
|
-
* then an <code>Error</code> with this code will be emitted.</p>
|
|
1952
1978
|
* <p><a id="HPE_UNEXPECTED_CONTENT_LENGTH"></a></p>
|
|
1953
1979
|
*/
|
|
1954
|
-
NodeError["
|
|
1980
|
+
NodeError["HPE_HEADER_OVERFLOW"] = "HPE_HEADER_OVERFLOW";
|
|
1955
1981
|
/**
|
|
1956
1982
|
* <p>Server is sending both a <code>Content-Length</code> header and <code>Transfer-Encoding: chunked</code>.</p>
|
|
1957
1983
|
* <p><code>Transfer-Encoding: chunked</code> allows the server to maintain an HTTP persistent
|
|
@@ -1969,19 +1995,40 @@ export var NodeError;
|
|
|
1969
1995
|
/**
|
|
1970
1996
|
* <p>The value passed to <code>postMessage()</code> contained an object that is not supported
|
|
1971
1997
|
* for transferring.</p>
|
|
1972
|
-
* <p><a id="
|
|
1998
|
+
* <p><a id="ERR_CPU_USAGE"></a></p>
|
|
1973
1999
|
* @deprecated
|
|
1974
2000
|
*/
|
|
1975
2001
|
NodeError["ERR_CANNOT_TRANSFER_OBJECT"] = "ERR_CANNOT_TRANSFER_OBJECT";
|
|
2002
|
+
/**
|
|
2003
|
+
* <p>The native call from <code>process.cpuUsage</code> could not be processed.</p>
|
|
2004
|
+
* <p><a id="ERR_CRYPTO_HASH_DIGEST_NO_UTF16"></a></p>
|
|
2005
|
+
* @deprecated
|
|
2006
|
+
*/
|
|
2007
|
+
NodeError["ERR_CPU_USAGE"] = "ERR_CPU_USAGE";
|
|
1976
2008
|
/**
|
|
1977
2009
|
* <p>The UTF-16 encoding was used with <a href="crypto.html#hashdigestencoding"><code>hash.digest()</code></a>. While the
|
|
1978
2010
|
* <code>hash.digest()</code> method does allow an <code>encoding</code> argument to be passed in,
|
|
1979
2011
|
* causing the method to return a string rather than a <code>Buffer</code>, the UTF-16
|
|
1980
2012
|
* encoding (e.g. <code>ucs</code> or <code>utf16le</code>) is not supported.</p>
|
|
1981
|
-
* <p><a id="
|
|
2013
|
+
* <p><a id="ERR_CRYPTO_SCRYPT_INVALID_PARAMETER"></a></p>
|
|
1982
2014
|
* @deprecated
|
|
1983
2015
|
*/
|
|
1984
2016
|
NodeError["ERR_CRYPTO_HASH_DIGEST_NO_UTF16"] = "ERR_CRYPTO_HASH_DIGEST_NO_UTF16";
|
|
2017
|
+
/**
|
|
2018
|
+
* <p>An incompatible combination of options was passed to <a href="crypto.html#cryptoscryptpassword-salt-keylen-options-callback"><code>crypto.scrypt()</code></a> or
|
|
2019
|
+
* <a href="crypto.html#cryptoscryptsyncpassword-salt-keylen-options"><code>crypto.scryptSync()</code></a>. New versions of Node.js use the error code
|
|
2020
|
+
* <a href="#err_incompatible_option_pair"><code>ERR_INCOMPATIBLE_OPTION_PAIR</code></a> instead, which is consistent with other APIs.</p>
|
|
2021
|
+
* <p><a id="ERR_FS_INVALID_SYMLINK_TYPE"></a></p>
|
|
2022
|
+
* @deprecated
|
|
2023
|
+
*/
|
|
2024
|
+
NodeError["ERR_CRYPTO_SCRYPT_INVALID_PARAMETER"] = "ERR_CRYPTO_SCRYPT_INVALID_PARAMETER";
|
|
2025
|
+
/**
|
|
2026
|
+
* <p>An invalid symlink type was passed to the <a href="fs.html#fssymlinktarget-path-type-callback"><code>fs.symlink()</code></a> or
|
|
2027
|
+
* <a href="fs.html#fssymlinksynctarget-path-type"><code>fs.symlinkSync()</code></a> methods.</p>
|
|
2028
|
+
* <p><a id="ERR_HTTP2_FRAME_ERROR"></a></p>
|
|
2029
|
+
* @deprecated
|
|
2030
|
+
*/
|
|
2031
|
+
NodeError["ERR_FS_INVALID_SYMLINK_TYPE"] = "ERR_FS_INVALID_SYMLINK_TYPE";
|
|
1985
2032
|
/**
|
|
1986
2033
|
* <p>Used when a failure occurs sending an individual frame on the HTTP/2
|
|
1987
2034
|
* session.</p>
|
|
@@ -2018,10 +2065,28 @@ export var NodeError;
|
|
|
2018
2065
|
/**
|
|
2019
2066
|
* <p>Used when an invalid character is found in an HTTP response status message
|
|
2020
2067
|
* (reason phrase).</p>
|
|
2021
|
-
* <p><a id="
|
|
2068
|
+
* <p><a id="ERR_IMPORT_ASSERTION_TYPE_FAILED"></a></p>
|
|
2022
2069
|
* @deprecated
|
|
2023
2070
|
*/
|
|
2024
2071
|
NodeError["ERR_HTTP_INVALID_CHAR"] = "ERR_HTTP_INVALID_CHAR";
|
|
2072
|
+
/**
|
|
2073
|
+
* <p>An import assertion has failed, preventing the specified module to be imported.</p>
|
|
2074
|
+
* <p><a id="ERR_IMPORT_ASSERTION_TYPE_MISSING"></a></p>
|
|
2075
|
+
* @deprecated
|
|
2076
|
+
*/
|
|
2077
|
+
NodeError["ERR_IMPORT_ASSERTION_TYPE_FAILED"] = "ERR_IMPORT_ASSERTION_TYPE_FAILED";
|
|
2078
|
+
/**
|
|
2079
|
+
* <p>An import assertion is missing, preventing the specified module to be imported.</p>
|
|
2080
|
+
* <p><a id="ERR_IMPORT_ASSERTION_TYPE_UNSUPPORTED"></a></p>
|
|
2081
|
+
* @deprecated
|
|
2082
|
+
*/
|
|
2083
|
+
NodeError["ERR_IMPORT_ASSERTION_TYPE_MISSING"] = "ERR_IMPORT_ASSERTION_TYPE_MISSING";
|
|
2084
|
+
/**
|
|
2085
|
+
* <p>An import attribute is not supported by this version of Node.js.</p>
|
|
2086
|
+
* <p><a id="ERR_INDEX_OUT_OF_RANGE"></a></p>
|
|
2087
|
+
* @deprecated
|
|
2088
|
+
*/
|
|
2089
|
+
NodeError["ERR_IMPORT_ASSERTION_TYPE_UNSUPPORTED"] = "ERR_IMPORT_ASSERTION_TYPE_UNSUPPORTED";
|
|
2025
2090
|
/**
|
|
2026
2091
|
* <p>A given index was out of the accepted range (e.g. negative offsets).</p>
|
|
2027
2092
|
* <p><a id="ERR_INVALID_OPT_VALUE"></a></p>
|
|
@@ -2036,34 +2101,23 @@ export var NodeError;
|
|
|
2036
2101
|
NodeError["ERR_INVALID_OPT_VALUE"] = "ERR_INVALID_OPT_VALUE";
|
|
2037
2102
|
/**
|
|
2038
2103
|
* <p>An invalid or unknown file encoding was passed.</p>
|
|
2039
|
-
* <p><a id="
|
|
2104
|
+
* <p><a id="ERR_INVALID_PERFORMANCE_MARK"></a></p>
|
|
2040
2105
|
* @deprecated
|
|
2041
2106
|
*/
|
|
2042
2107
|
NodeError["ERR_INVALID_OPT_VALUE_ENCODING"] = "ERR_INVALID_OPT_VALUE_ENCODING";
|
|
2043
2108
|
/**
|
|
2044
|
-
* <p>
|
|
2045
|
-
*
|
|
2046
|
-
*
|
|
2047
|
-
*/
|
|
2048
|
-
NodeError["ERR_INVALID_TRANSFER_OBJECT"] = "ERR_INVALID_TRANSFER_OBJECT";
|
|
2049
|
-
/**
|
|
2050
|
-
* <p>An import assertion has failed, preventing the specified module to be imported.</p>
|
|
2051
|
-
* <p><a id="ERR_IMPORT_ASSERTION_TYPE_MISSING"></a></p>
|
|
2052
|
-
* @deprecated
|
|
2053
|
-
*/
|
|
2054
|
-
NodeError["ERR_IMPORT_ASSERTION_TYPE_FAILED"] = "ERR_IMPORT_ASSERTION_TYPE_FAILED";
|
|
2055
|
-
/**
|
|
2056
|
-
* <p>An import assertion is missing, preventing the specified module to be imported.</p>
|
|
2057
|
-
* <p><a id="ERR_IMPORT_ASSERTION_TYPE_UNSUPPORTED"></a></p>
|
|
2109
|
+
* <p>While using the Performance Timing API (<code>perf_hooks</code>), a performance mark is
|
|
2110
|
+
* invalid.</p>
|
|
2111
|
+
* <p><a id="ERR_INVALID_TRANSFER_OBJECT"></a></p>
|
|
2058
2112
|
* @deprecated
|
|
2059
2113
|
*/
|
|
2060
|
-
NodeError["
|
|
2114
|
+
NodeError["ERR_INVALID_PERFORMANCE_MARK"] = "ERR_INVALID_PERFORMANCE_MARK";
|
|
2061
2115
|
/**
|
|
2062
|
-
* <p>An
|
|
2116
|
+
* <p>An invalid transfer object was passed to <code>postMessage()</code>.</p>
|
|
2063
2117
|
* <p><a id="ERR_MANIFEST_ASSERT_INTEGRITY"></a></p>
|
|
2064
2118
|
* @deprecated
|
|
2065
2119
|
*/
|
|
2066
|
-
NodeError["
|
|
2120
|
+
NodeError["ERR_INVALID_TRANSFER_OBJECT"] = "ERR_INVALID_TRANSFER_OBJECT";
|
|
2067
2121
|
/**
|
|
2068
2122
|
* <p>An attempt was made to load a resource, but the resource did not match the
|
|
2069
2123
|
* integrity defined by the policy manifest. See the documentation for policy
|
|
@@ -2148,24 +2202,32 @@ export var NodeError;
|
|
|
2148
2202
|
NodeError["ERR_MISSING_TRANSFERABLE_IN_TRANSFER_LIST"] = "ERR_MISSING_TRANSFERABLE_IN_TRANSFER_LIST";
|
|
2149
2203
|
/**
|
|
2150
2204
|
* <p>Used by the <code>Node-API</code> when <code>Constructor.prototype</code> is not an object.</p>
|
|
2151
|
-
* <p><a id="
|
|
2205
|
+
* <p><a id="ERR_NAPI_TSFN_START_IDLE_LOOP"></a></p>
|
|
2152
2206
|
* @deprecated
|
|
2153
2207
|
*/
|
|
2154
2208
|
NodeError["ERR_NAPI_CONS_PROTOTYPE_OBJECT"] = "ERR_NAPI_CONS_PROTOTYPE_OBJECT";
|
|
2155
2209
|
/**
|
|
2156
|
-
* <p>
|
|
2157
|
-
*
|
|
2158
|
-
*
|
|
2210
|
+
* <p>On the main thread, values are removed from the queue associated with the
|
|
2211
|
+
* thread-safe function in an idle loop. This error indicates that an error
|
|
2212
|
+
* has occurred when attempting to start the loop.</p>
|
|
2213
|
+
* <p><a id="ERR_NAPI_TSFN_STOP_IDLE_LOOP"></a></p>
|
|
2159
2214
|
* @deprecated
|
|
2160
2215
|
*/
|
|
2161
|
-
NodeError["
|
|
2216
|
+
NodeError["ERR_NAPI_TSFN_START_IDLE_LOOP"] = "ERR_NAPI_TSFN_START_IDLE_LOOP";
|
|
2162
2217
|
/**
|
|
2163
|
-
* <p>
|
|
2164
|
-
*
|
|
2218
|
+
* <p>Once no more items are left in the queue, the idle loop must be suspended. This
|
|
2219
|
+
* error indicates that the idle loop has failed to stop.</p>
|
|
2220
|
+
* <p><a id="ERR_NO_LONGER_SUPPORTED"></a></p>
|
|
2221
|
+
* @deprecated
|
|
2222
|
+
*/
|
|
2223
|
+
NodeError["ERR_NAPI_TSFN_STOP_IDLE_LOOP"] = "ERR_NAPI_TSFN_STOP_IDLE_LOOP";
|
|
2224
|
+
/**
|
|
2225
|
+
* <p>A Node.js API was called in an unsupported manner, such as
|
|
2226
|
+
* <code>Buffer.write(string, encoding, offset[, length])</code>.</p>
|
|
2165
2227
|
* <p><a id="ERR_OUTOFMEMORY"></a></p>
|
|
2166
2228
|
* @deprecated
|
|
2167
2229
|
*/
|
|
2168
|
-
NodeError["
|
|
2230
|
+
NodeError["ERR_NO_LONGER_SUPPORTED"] = "ERR_NO_LONGER_SUPPORTED";
|
|
2169
2231
|
/**
|
|
2170
2232
|
* <p>Used generically to identify that an operation caused an out of memory
|
|
2171
2233
|
* condition.</p>
|
|
@@ -2246,22 +2308,22 @@ export var NodeError;
|
|
|
2246
2308
|
NodeError["ERR_V8BREAKITERATOR"] = "ERR_V8BREAKITERATOR";
|
|
2247
2309
|
/**
|
|
2248
2310
|
* <p>Used when a given value is out of the accepted range.</p>
|
|
2249
|
-
* <p><a id="
|
|
2311
|
+
* <p><a id="ERR_VM_MODULE_LINKING_ERRORED"></a></p>
|
|
2250
2312
|
* @deprecated
|
|
2251
2313
|
*/
|
|
2252
2314
|
NodeError["ERR_VALUE_OUT_OF_RANGE"] = "ERR_VALUE_OUT_OF_RANGE";
|
|
2253
2315
|
/**
|
|
2254
|
-
* <p>The module
|
|
2255
|
-
* <p><a id="
|
|
2316
|
+
* <p>The linker function returned a module for which linking has failed.</p>
|
|
2317
|
+
* <p><a id="ERR_VM_MODULE_NOT_LINKED"></a></p>
|
|
2256
2318
|
* @deprecated
|
|
2257
2319
|
*/
|
|
2258
|
-
NodeError["
|
|
2320
|
+
NodeError["ERR_VM_MODULE_LINKING_ERRORED"] = "ERR_VM_MODULE_LINKING_ERRORED";
|
|
2259
2321
|
/**
|
|
2260
|
-
* <p>The
|
|
2322
|
+
* <p>The module must be successfully linked before instantiation.</p>
|
|
2261
2323
|
* <p><a id="ERR_WORKER_UNSUPPORTED_EXTENSION"></a></p>
|
|
2262
2324
|
* @deprecated
|
|
2263
2325
|
*/
|
|
2264
|
-
NodeError["
|
|
2326
|
+
NodeError["ERR_VM_MODULE_NOT_LINKED"] = "ERR_VM_MODULE_NOT_LINKED";
|
|
2265
2327
|
/**
|
|
2266
2328
|
* <p>The pathname used for the main script of a worker has an
|
|
2267
2329
|
* unknown file extension.</p>
|
|
@@ -2272,16 +2334,10 @@ export var NodeError;
|
|
|
2272
2334
|
/**
|
|
2273
2335
|
* <p>Used when an attempt is made to use a <code>zlib</code> object after it has already been
|
|
2274
2336
|
* closed.</p>
|
|
2275
|
-
* <p><a id="ERR_CPU_USAGE"></a></p>
|
|
2276
|
-
* @deprecated
|
|
2277
|
-
*/
|
|
2278
|
-
NodeError["ERR_ZLIB_BINDING_CLOSED"] = "ERR_ZLIB_BINDING_CLOSED";
|
|
2279
|
-
/**
|
|
2280
|
-
* <p>The native call from <code>process.cpuUsage</code> could not be processed.</p>
|
|
2281
2337
|
* <p><a id="openssl-error-codes"></a></p>
|
|
2282
2338
|
* @deprecated
|
|
2283
2339
|
*/
|
|
2284
|
-
NodeError["
|
|
2340
|
+
NodeError["ERR_ZLIB_BINDING_CLOSED"] = "ERR_ZLIB_BINDING_CLOSED";
|
|
2285
2341
|
})(NodeError || (NodeError = {}));
|
|
2286
2342
|
export var OpenSSLError;
|
|
2287
2343
|
(function (OpenSSLError) {
|
|
@@ -2433,12 +2489,7 @@ export var OpenSSLError;
|
|
|
2433
2489
|
OpenSSLError["UNABLE_TO_DECODE_ISSUER_PUBLIC_KEY"] = "UNABLE_TO_DECODE_ISSUER_PUBLIC_KEY";
|
|
2434
2490
|
/**
|
|
2435
2491
|
* <p>An error occurred trying to allocate memory. This should never happen.</p>
|
|
2436
|
-
* <p><a id="ERR_UNSUPPORTED_NODE_MODULES_TYPE_STRIPPING"></a></p>
|
|
2437
2492
|
*/
|
|
2438
2493
|
OpenSSLError["OUT_OF_MEM"] = "OUT_OF_MEM";
|
|
2439
|
-
/**
|
|
2440
|
-
* <p>Type stripping is not supported for files descendent of a <code>node_modules</code> directory.</p>
|
|
2441
|
-
*/
|
|
2442
|
-
OpenSSLError["ERR_UNSUPPORTED_NODE_MODULES_TYPE_STRIPPING"] = "ERR_UNSUPPORTED_NODE_MODULES_TYPE_STRIPPING";
|
|
2443
2494
|
})(OpenSSLError || (OpenSSLError = {}));
|
|
2444
2495
|
//# sourceMappingURL=nodejs-error-code.generated.js.map
|