Lines Matching +full:vm +full:- +full:misc
3 <!--introduced_in=v4.0.0-->
5 <!--type=misc-->
15 * User-specified errors triggered by application code.
26 <!--type=misc-->
35 are handled using the [`try…catch` construct][try-catch] provided by the
58 account that it might be rejected. See [`--unhandled-rejections`][] flag for
61 <!-- eslint-disable no-useless-return -->
83 <!-- eslint-disable no-useless-return -->
120 The use of the `'error'` event mechanism is most common for [stream-based][]
121 and [event emitter-based][] APIs, which themselves represent a series of
150 <!--type=class-->
235 If set to a non-number value, or set to a negative number, stack traces will
240 <!-- YAML
242 -->
265 // at Script.runInThisContext (node:vm:130:12)
270 // at Script.runInThisContext (node:vm:130:12)
318 at Frobnicator.refrobulate (/home/gbusey/business-logic.js:424:21)
339 const cheetahify = require('./native-binding.node');
369 * `plain-filename.js:line:column`, if the frame represents a call internal
373 * `<transport-protocol>:///url/to/module/file.mjs:line:column`, if the frame
400 require('node:net').connect(-1);
401 // Throws "RangeError: "port" option should be >= 0 and < 65536: -1"
432 happen as a result of `eval`, `Function`, `require`, or [vm][]. These errors
437 require('node:vm').runInThisContext('binary ! isNotOk');
460 * `errno` {number} The system-provided error number
462 * `message` {string} A system-provided human-readable description of the error
509 `error.message` is a system-provided human-readable description of the error.
531 This is a list of system errors commonly-encountered when writing a Node.js
562 `ulimit -n 2048` in the same shell that will run the Node.js process.
607 <!--type=misc-->
623 OpenSSL-specific properties.
640 A human-readable string describing the reason for the error.
642 <a id="nodejs-error-codes"></a>
650 <!-- YAML
652 -->
777 <!--
779 - v16.2.0
780 - v14.17.1
782 - version: 11.12.0
783 pr-url: https://github.com/nodejs/node/pull/26487
785 - version:
786 - v16.2.0
787 - v14.17.1
788 pr-url: https://github.com/nodejs/node/pull/38510
790 -->
800 non-writable `stdout` or `stderr` stream.
806 <!--
808 -->
822 The vm context passed into the API is not yet initialized. This could happen
833 being used, likely due to the compile-time flag `OPENSSL_NO_ENGINE`.
861 The [`--force-fips`][] command-line argument was used but there was an attempt
900 <!-- YAML
902 -->
910 <!-- YAML
912 -->
920 <!-- YAML
922 -->
924 An invalid counter was provided for a counter-mode cipher.
930 <!-- YAML
932 -->
934 An invalid elliptic-curve was provided.
946 <!-- YAML
948 -->
956 <!-- YAML
958 -->
972 <!-- YAML
974 -->
982 <!-- YAML
984 -->
992 <!-- YAML
994 -->
1002 <!-- YAML
1004 -->
1012 <!-- YAML
1014 -->
1029 <!-- YAML
1031 -->
1039 <!-- YAML
1041 -->
1063 <!-- YAML
1065 -->
1113 An unknown Diffie-Hellman group name was given. See
1120 <!-- YAML
1122 - v15.0.0
1123 - v14.18.0
1124 -->
1132 <!-- YAML
1134 - v16.4.0
1135 - v14.17.4
1136 -->
1144 <!-- YAML
1146 - v16.4.0
1147 - v14.17.4
1148 -->
1156 <!-- YAML
1158 - v16.10.0
1159 - v14.19.0
1160 -->
1162 Loading native addons has been disabled using [`--no-addons`][].
1168 <!-- YAML
1170 -->
1184 <!-- YAML
1186 -->
1195 `c-ares` failed to set the DNS server.
1241 `--print` cannot be used with ESM input.
1268 <!-- YAML
1270 -->
1279 <!--
1281 -->
1283 An attempt was made to copy a directory to a non-directory (file, symlink,
1290 <!--
1292 -->
1301 <!--
1303 -->
1316 Response body size doesn't match with the specified content-length header value.
1322 <!--
1324 -->
1332 <!--
1334 -->
1336 An attempt was made to copy a non-directory (file, symlink, etc.) to a directory
1343 <!--
1345 -->
1353 <!--
1355 -->
1364 <!--
1366 -->
1406 Status code was outside the regular status code range (100-999).
1449 For HTTP/2 requests using the `CONNECT` method, the `:authority` pseudo-header
1456 For HTTP/2 requests using the `CONNECT` method, the `:path` pseudo-header is
1463 For HTTP/2 requests using the `CONNECT` method, the `:scheme` pseudo-header is
1470 A non-specific HTTP/2 error has occurred.
1631 An HTTP/2 pseudo-header has been used inappropriately. Pseudo-headers are header
1660 The `Http2Session` closed with a non-zero error code.
1706 A non-zero error code was been specified in an `RST_STREAM` frame.
1720 <!--
1722 -->
1753 An attempt was made to construct an object using a non-public constructor.
1759 <!-- YAML
1761 - v17.1.0
1762 - v16.14.0
1763 -->
1772 <!-- YAML
1774 - v17.1.0
1775 - v16.14.0
1776 -->
1784 <!-- YAML
1786 - v17.1.0
1787 - v16.14.0
1788 -->
1796 <!-- YAML
1798 -->
1813 > Stability: 1 - Experimental
1815 The `--input-type` flag was used to attempt to execute a file. This flag can
1816 only be used with input via `--eval`, `--print`, or `STDIN`.
1902 less than -1 should never happen.
1942 situation can only occur on Unix-like systems where only `localhost` or an empty
1951 semantics for determining whether a path can be used is platform-dependent.
1983 <!-- YAML
1985 - v15.0.0
1986 - v14.18.0
1987 -->
2071 <!-- YAML
2073 -->
2174 <!-- YAML
2176 -->
2254 <!-- YAML
2256 - v14.5.0
2257 - v12.19.0
2258 -->
2261 [vm][] `Context`. Not all Node.js objects can be successfully instantiated in
2306 <!-- YAML
2308 -->
2340 While using `Node-API`, a constructor passed was not a function.
2367 An error occurred while invoking the JavaScript portion of the thread-safe
2382 thread-safe function in an idle loop. This error indicates that an error
2417 A non-context-aware native addon was loaded in a process that disallows them.
2444 <!-- YAML
2446 -->
2456 <!-- YAML
2458 -->
2467 <!-- YAML
2469 -->
2491 [`--disable-proto=throw`][]. [`Object.getPrototypeOf`][] and
2499 > Stability: 1 - Experimental
2691 An unspecified or non-specific system error has occurred within the Node.js
2740 This error is thrown by `checkServerIdentity` if a user-supplied
2756 While using TLS, the parameter offered for the Diffie-Hellman (`DH`)
2757 key-agreement protocol is too small. By default, the key length must be greater
2772 <!-- YAML
2774 -->
2795 <!-- YAML
2797 - v13.10.0
2798 - v12.17.0
2799 -->
2836 vector for denial-of-service attacks.
2842 An attempt was made to issue Server Name Indication from a TLS server-side
2857 with the `--without-v8-platform` flag.
2931 > Stability: 1 - Experimental
2940 > Stability: 1 - Experimental
2956 [self-reference a package using its name][] and [define a custom subpath][] in
2959 <!-- eslint-skip -->
2964 import 'package-name'; // supported
2977 > Stability: 1 - Experimental
2992 A dynamic import callback was invoked without `--experimental-vm-modules`.
3040 The fulfilled value of a linking promise is not a `vm.Module` object.
3065 <!-- YAML
3067 -->
3126 <!-- YAML
3128 - version:
3129 - v11.4.0
3130 - v10.15.0
3132 pr-url: https://github.com/nodejs-private/node-private/pull/143
3134 -->
3145 <!-- YAML
3147 -->
3157 Server is sending both a `Content-Length` header and `Transfer-Encoding: chunked`.
3159 `Transfer-Encoding: chunked` allows the server to maintain an HTTP persistent
3161 In this case, the `Content-Length` HTTP header cannot be used.
3163 Use `Content-Length` or `Transfer-Encoding: chunked`.
3169 <!-- YAML
3171 - version: v12.0.0
3172 pr-url: https://github.com/nodejs/node/pull/25690
3174 -->
3181 > Stability: 0 - Deprecated. These error codes are either inconsistent, or have
3188 <!--
3191 -->
3200 <!-- YAML
3203 -->
3205 The UTF-16 encoding was used with [`hash.digest()`][]. While the
3207 causing the method to return a string rather than a `Buffer`, the UTF-16
3214 <!-- YAML
3217 -->
3226 <!-- YAML
3229 -->
3237 <!-- YAML
3240 -->
3248 <!-- YAML
3251 -->
3260 <!-- YAML
3263 -->
3272 <!-- YAML
3275 -->
3284 <!-- YAML
3287 -->
3295 <!-- YAML
3298 -->
3306 <!-- YAML
3309 -->
3317 <!-- YAML
3319 -->
3329 <!-- YAML
3332 -->
3334 Used by the `Node-API` when `Constructor.prototype` is not an object.
3340 > Stability: 1 - Experimental
3348 > Stability: 1 - Experimental
3364 <!-- YAML
3366 -->
3375 <!-- YAML
3378 -->
3387 <!-- YAML
3390 -->
3398 <!-- YAML
3401 -->
3409 <!-- YAML
3412 - version: v10.12.0
3413 pr-url: https://github.com/nodejs/node/pull/23053
3417 -->
3426 <!-- YAML
3429 - version: v10.12.0
3430 pr-url: https://github.com/nodejs/node/pull/23053
3434 -->
3443 <!-- YAML
3446 -->
3455 <!-- YAML
3458 -->
3460 Used when a TLS renegotiation request has failed in a non-specific way.
3466 <!-- YAML
3469 -->
3482 <!-- YAML
3485 -->
3495 <!-- YAML
3498 -->
3514 <!-- YAML
3517 -->
3531 <!-- YAML
3534 -->
3542 <!-- YAML
3545 -->
3554 <!-- YAML
3557 -->
3566 <!-- YAML
3568 -->
3573 [ICU]: intl.md#internationalization-support
3574 …y Elliptic Curve Registry]: https://www.iana.org/assignments/jose/jose.xhtml#web-key-elliptic-curve
3575 [JSON Web Key Types Registry]: https://www.iana.org/assignments/jose/jose.xhtml#web-key-types
3576 [Node.js error codes]: #nodejs-error-codes
3577 [RFC 7230 Section 3]: https://tools.ietf.org/html/rfc7230#section-3
3578 [Subresource Integrity specification]: https://www.w3.org/TR/SRI/#the-integrity-attribute
3579 [V8's stack trace API]: https://v8.dev/docs/stack-trace-api
3580 [WHATWG Supported Encodings]: util.md#whatwg-supported-encodings
3581 [WHATWG URL API]: url.md#the-whatwg-url-api
3584 [`'uncaughtException'`]: process.md#event-uncaughtexception
3585 [`--disable-proto=throw`]: cli.md#--disable-protomode
3586 [`--force-fips`]: cli.md#--force-fips
3587 [`--no-addons`]: cli.md#--no-addons
3588 [`--unhandled-rejections`]: cli.md#--unhandled-rejectionsmode
3589 [`Class: assert.AssertionError`]: assert.md#class-assertassertionerror
3593 [`EventEmitter`]: events.md#class-eventemitter
3594 [`MessagePort`]: worker_threads.md#class-messageport
3595 [`Object.getPrototypeOf`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global…
3596 [`Object.setPrototypeOf`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global…
3598 [`ServerResponse`]: http.md#class-httpserverresponse
3599 [`Writable`]: stream.md#class-streamwritable
3603 [`crypto.scrypt()`]: crypto.md#cryptoscryptpassword-salt-keylen-options-callback
3604 [`crypto.scryptSync()`]: crypto.md#cryptoscryptsyncpassword-salt-keylen-options
3605 [`crypto.timingSafeEqual()`]: crypto.md#cryptotimingsafeequala-b
3606 [`dgram.connect()`]: dgram.md#socketconnectport-address-callback
3607 [`dgram.createSocket()`]: dgram.md#dgramcreatesocketoptions-callback
3610 [`errno`(3) man page]: https://man7.org/linux/man-pages/man3/errno.3.html
3611 [`fs.Dir`]: fs.md#class-fsdir
3612 [`fs.cp()`]: fs.md#fscpsrc-dest-options-callback
3613 [`fs.readFileSync`]: fs.md#fsreadfilesyncpath-options
3614 [`fs.readdir`]: fs.md#fsreaddirpath-options-callback
3615 [`fs.symlink()`]: fs.md#fssymlinktarget-path-type-callback
3616 [`fs.symlinkSync()`]: fs.md#fssymlinksynctarget-path-type
3617 [`fs.unlink`]: fs.md#fsunlinkpath-callback
3620 [`hash.update()`]: crypto.md#hashupdatedata-inputencoding
3624 [`net.Socket.write()`]: net.md#socketwritedata-encoding-callback
3626 [`new URL(input)`]: url.md#new-urlinput-base
3627 [`new URLSearchParams(iterable)`]: url.md#new-urlsearchparamsiterable
3628 [`package.json`]: packages.md#nodejs-packagejson-field-definitions
3629 [`postMessage()`]: worker_threads.md#portpostmessagevalue-transferlist
3630 [`process.on('exit')`]: process.md#event-exit
3631 [`process.send()`]: process.md#processsendmessage-sendhandle-options-callback
3634 [`require('node:crypto').setEngine()`]: crypto.md#cryptosetengineengine-flags
3638 [`sign.sign()`]: crypto.md#signsignprivatekey-outputencoding
3639 [`stream.pipe()`]: stream.md#readablepipedestination-options
3640 [`stream.push()`]: stream.md#readablepushchunk-encoding
3641 [`stream.unshift()`]: stream.md#readableunshiftchunk-encoding
3642 [`stream.write()`]: stream.md#writablewritechunk-encoding-callback
3644 [`subprocess.send()`]: child_process.md#subprocesssendmessage-sendhandle-options-callback
3645 [`url.parse()`]: url.md#urlparseurlstring-parsequerystring-slashesdenotehost
3647 [`util.inspect()`]: util.md#utilinspectobject-options
3649 …shot.setDeserializeMainFunction()`]: v8.md#v8startupsnapshotsetdeserializemainfunctioncallback-data
3653 [define a custom subpath]: packages.md#subpath-exports
3655 [event emitter-based]: events.md#class-eventemitter
3658 [self-reference a package using its name]: packages.md#self-referencing-a-package-using-its-name
3659 [stream-based]: stream.md
3660 [syscall]: https://man7.org/linux/man-pages/man2/syscalls.2.html
3661 [try-catch]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/try...cat…
3662 [vm]: vm.md