Lines Matching refs:was
67 console.error('There was an error reading the file!', err);
134 `Error` object (if any) passed as the first argument. If no error was raised,
142 console.error('There was an error', err);
186 detailing the point in the code at which the `Error` was instantiated, and may
199 represent the point in the code at which `new Error()` was called. Stack traces
211 `Error.captureStackTrace()` was called.
286 the `Error` was instantiated.
365 Indicates that a provided argument was not within the set or range of
504 * `EACCES` (Permission denied): An attempt was made to access a file in a way
515 * `ECONNRESET` (Connection reset by peer): A connection was forcibly closed by
520 * `EEXIST` (File exists): An existing file was the target of an operation that
524 pathname was a directory.
539 was not a directory as expected. Commonly raised by [`fs.readdir`][].
541 * `ENOTEMPTY` (Directory not empty): A directory with entries was the target
547 * `EPERM` (Operation not permitted): An attempt was made to perform an
558 was not properly called.
640 An iterable argument (i.e. a value that works with `for...of` loops) was
653 An attempt was made to register something that is not a function as an
659 The type of an asynchronous resource was invalid. Users are also able
665 Data passed to a Brotli stream was not successfully compressed.
670 An invalid parameter key was passed during construction of a Brotli stream.
675 An attempt was made to create a Node.js `Buffer` instance from addon or embedder
688 An operation outside the bounds of a `Buffer` was attempted.
699 Node.js was unable to watch for the `SIGINT` signal.
704 A child process was closed before the parent received a reply.
724 description: The error message was removed.
727 description: The error message was reintroduced.
730 There was an attempt to use a `MessagePort` instance in a closed
736 `Console` was instantiated without `stdout` stream, or `Console` has a
745 A class constructor was called that is not callable.
750 A constructor for a class was called without `new`.
768 A client certificate engine was requested that is not supported by the version
774 An invalid value for the `format` argument was passed to the `crypto.ECDH()`
787 An invalid crypto engine identifier was passed to
793 The [`--force-fips`][] command-line argument was used but there was an attempt
799 An attempt was made to enable or disable FIPS mode, but FIPS mode was not
805 [`hash.digest()`][] was called multiple times. The `hash.digest()` method must
826 An invalid [crypto digest algorithm][] was specified.
836 A crypto method was used on an object that was in an invalid state. For
854 Node.js was compiled without `scrypt` support. Not possible with the official
860 A signing `key` was not provided to the [`sign.sign()`][] method.
865 [`crypto.timingSafeEqual()`][] was called with `Buffer`, `TypedArray`, or
871 An unknown cipher was specified.
876 An unknown Diffie-Hellman group name was given. See
914 The [`fs.Dir`][] was previously closed.
922 A synchronous read or close call was attempted on an [`fs.Dir`][] which has
933 The `domain` module was not usable since it could not establish the required
950 Data provided to `TextDecoder()` API was invalid according to the encoding
956 Encoding provided to `TextDecoder()` API was not one of the
979 A `Promise` that was callbackified via `util.callbackify()` was rejected with a
1005 An invalid symlink type was passed to the [`fs.symlink()`][] or
1011 An attempt was made to add more headers after the headers had already been sent.
1016 An invalid HTTP header value was specified.
1021 Status code was outside the regular status code range (100-999).
1026 The `Trailer` header was set even though the transfer encoding does not support
1071 Multiple values were provided for an HTTP/2 header field that was required to
1077 An additional headers was specified after an HTTP/2 response was initiated.
1082 An attempt was made to send multiple response headers.
1099 An invalid HTTP/2 header value was specified.
1128 An action was performed on an `Http2Session` object that had already been
1139 An operation was performed on a stream that had already been destroyed.
1153 An attempt was made to initiate a new push stream from within a push stream.
1164 An attempt was made to directly manipulate (read, write, pause, resume, etc.) a
1181 A message payload was specified for an HTTP response code for which a payload is
1187 An HTTP/2 ping was canceled.
1203 An attempt was made to create a push stream, which had been disabled by the
1209 An attempt was made to use the `Http2Stream.prototype.responseWithFile()` API to
1215 An attempt was made to use the `Http2Stream.prototype.responseWithFile()` API to
1232 An attempt was made to connect a `Http2Session` object to a `net.Socket` or
1238 An attempt was made to use the `socket` property of an `Http2Session` that
1255 An `Http2Stream` was destroyed before any data was transmitted to the connected
1261 A non-zero error code was been specified in an `RST_STREAM` frame.
1286 `http2.connect()` was passed a URL that uses any protocol other than `http:` or
1300 The `--input-type` flag was used to attempt to execute a file. This flag can
1306 While using the `inspector` module, an attempt was made to activate the
1313 While using the `inspector` module, an attempt was made to connect when the
1314 inspector was already connected.
1319 While using the `inspector` module, an attempt was made to use the inspector
1340 While using the `inspector` module, an attempt was made to use the inspector
1341 before it was connected.
1346 An API was called on the main thread that can only be used from
1352 There was a bug in Node.js or incorrect usage of Node.js internals.
1363 An argument of the wrong type was passed to a Node.js API.
1368 An invalid or unsupported value was passed for a given argument.
1373 An invalid `asyncId` or `triggerAsyncId` was passed using `AsyncHooks`. An id
1379 A swap was performed on a `Buffer` but its size was not compatible with the
1385 A callback function was required but was not been provided to a Node.js API.
1401 A file descriptor ('fd') was not valid (e.g. it was a negative value).
1406 A file descriptor ('fd') type was not valid.
1426 An attempt was made to send an unsupported "handle" over an IPC communication
1433 An invalid HTTP token was supplied.
1446 An attempt was made to load a module that does not exist or was otherwise not
1458 An invalid or unexpected value was passed in an options object.
1463 An invalid or unknown file encoding was passed.
1468 An invalid [`package.json`][] file was found which failed parsing.
1485 An invalid `options.protocol` was passed to `http.request()`.
1520 A `Buffer`, `TypedArray`, `DataView` or `string` was provided as stdio input to
1527 A Node.js API function was called with an incompatible `this` value.
1540 An invalid transfer object was passed to `postMessage()`.
1553 An invalid URI was passed.
1558 An invalid URL was passed to the [WHATWG][WHATWG URL API]
1566 An attempt was made to use a URL of an incompatible scheme (protocol) for a
1574 An attempt was made to use an IPC communication channel that was already closed.
1579 An attempt was made to disconnect an IPC communication channel that was already
1586 An attempt was made to create a child Node.js process using more than one IPC
1593 An attempt was made to open an IPC communication channel with a synchronously
1600 An attempt was made to load a resource, but the resource did not match the
1607 An attempt was made to load a resource, but the resource was not listed as a
1614 An attempt was made to load a policy manifest, but the manifest had multiple
1636 An attempt was made to load a policy manifest, but the manifest was unable to
1642 An attempt was made to read from a policy manifest, but the manifest
1648 A policy manifest was loaded, but had an unknown value for its "onerror"
1654 An attempt was made to allocate memory (usually in the C++ layer) but it
1676 A required argument of a Node.js API was not passed. This is only used for
1698 An attempt was made to read an encrypted key without specifying a passphrase.
1717 A callback was called more than once.
1726 While using `Node-API`, a constructor passed was not a function.
1731 While calling `napi_create_dataview()`, a given `offset` was outside the bounds
1732 of the dataview or `offset + length` was larger than a length of given `buffer`.
1737 While calling `napi_create_typedarray()`, the provided `offset` was not a
1744 byte_offset` was larger than the length of given `buffer`.
1774 An attempt was made to use crypto features while Node.js was not compiled with
1780 An attempt was made to use features that require [ICU][], but Node.js was not
1786 A non-context-aware native addon was loaded in a process that disallows them.
1825 An attempt was made to `require()` an [ES Module][].
1830 Script execution was interrupted by `SIGINT` (For example,
1831 <kbd>Ctrl</kbd>+<kbd>C</kbd> was pressed.)
1841 The [`server.listen()`][] method was called while a `net.Server` was already
1848 The [`server.close()`][] method was called when a `net.Server` was not
1855 An attempt was made to bind a socket that has already been bound.
1860 An invalid (negative) size was passed for either the `recvBufferSize` or
1883 An attempt was made to operate on an already closed socket.
1888 A [`dgram.connect()`][] call was made on an already connected socket.
1893 A [`dgram.disconnect()`][] or [`dgram.remoteAddress()`][] call was made on a
1899 A call was made and the UDP subsystem was not running.
1904 A string was provided for a Subresource Integrity check, but was unable to be
1911 A stream method was called that cannot complete because the stream was
1917 An attempt was made to call [`stream.pipe()`][] on a [`Writable`][] stream.
1922 A stream method was called that cannot complete because the stream was
1928 An attempt was made to call [`stream.write()`][] with a `null` chunk.
1939 An attempt was made to call [`stream.push()`][] after a `null`(EOF) had been
1945 An attempt was made to call [`stream.unshift()`][] after the `'end'` event was
1951 Prevents an abort if a string decoder was set on the Socket or if the decoder
1964 An attempt was made to call [`stream.write()`][] after `stream.end()` has been
2058 An attempt was made to renegotiate TLS on a socket instance with TLS disabled.
2063 While using TLS, the `server.addContext()` method was called without providing
2075 An attempt was made to issue Server Name Indication from a TLS server-side
2087 The `trace_events` module could not be loaded because Node.js was compiled with
2093 A `Transform` stream finished while it was still transforming.
2108 Function was called within a [`process.on('exit')`][] handler that shouldn't be
2114 [`process.setUncaughtExceptionCaptureCallback()`][] was called twice,
2123 A string that contained unescaped characters was received.
2141 A Unix group or user identifier that does not exist was passed.
2146 An invalid or unknown encoding option was passed to an API.
2153 An attempt was made to load a module with an unknown or unsupported file
2161 An attempt was made to load a module with an unknown or unsupported format.
2166 An invalid or unknown process signal was passed to an API expecting a valid
2197 A dynamic import callback was not specified.
2233 The module was unable to be linked due to a failure.
2313 description: Max header size in `http_parser` was set to 8KB.
2316 Too much HTTP header data was received. In order to protect against malicious or
2365 The UTF-16 encoding was used with [`hash.digest()`][]. While the
2439 A given index was out of the accepted range (e.g. negative offsets).
2453 A Node.js API was called in an unsupported manner, such as
2473 The `repl` module was unable to parse data from the REPL history file.
2496 An attempt was made to close the `process.stderr` stream. By design, Node.js
2511 An attempt was made to close the `process.stdout` stream. By design, Node.js
2541 or by Node.js was encountered during serialization. Such a `SharedArrayBuffer`
2554 An attempt was made to launch a Node.js process with an unknown `stdin` file
2565 An attempt was made to launch a Node.js process with an unknown `stdout` or
2572 The V8 `BreakIterator` API was used but the full ICU data set is not installed.