Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v8.9.4 proposal #17772

Closed
wants to merge 282 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
282 commits
Select commit Hold shift + click to select a range
aef0834
src: remove unnecessary call to SetHiddenPrototype
verwaest Oct 27, 2017
d07403d
doc: add hashseed to collaborators
hashseed Nov 7, 2017
ea1efca
test: flag known flake
refack Nov 10, 2017
728e57b
src: implement backtrace-on-abort for windows
addaleax Nov 11, 2017
fca180e
test: add basic WebAssembly test
stevekinney Nov 4, 2017
0348dad
build: prevent echoing of recipes for test target
danbev Nov 14, 2017
c69590d
test: --enable-static linked executable
danbev Aug 23, 2017
0bbeb8c
doc: add Table of Contents to Cpp style guide
fhinkel Nov 15, 2017
eb7285d
path: remove obsolete comment
Trott Nov 14, 2017
6411fe2
test: make REPL test pass in coverage mode
addaleax Nov 16, 2017
826e718
src: perf_hooks: fix wrong sized delete
ofrobots Nov 9, 2017
bb5a3aa
build: fix cctest target --with-dtrace
danbev Nov 15, 2017
44d5ecf
src: use smart pointer instead of new and delete
fhinkel Nov 12, 2017
f30fcdb
doc: mention smart pointers in Cpp style guide
fhinkel Nov 15, 2017
7737d11
lib: replace string concatenation with template
VijiKannan Nov 14, 2017
962fd75
tools: try installing js-yaml only once
joyeecheung Nov 1, 2017
d738c6b
doc: document common pattern for instanceof checks
mhdawson Nov 2, 2017
019d1a3
doc,win: clarify WSL support
joaocgreis Nov 14, 2017
fe514a7
doc: add Support section in README
Trott Oct 26, 2017
6d5620d
doc: delete unused definition in README.md
vsemozhetbyt Nov 17, 2017
e4788cd
tools: fail tests if malformed status file
Trott Nov 3, 2017
7e8d60e
test: move timing-sensitive test to sequential
Trott Nov 5, 2017
3fc7050
benchmark: use unique filenames in fs benchmarks
Trott Nov 5, 2017
0f37ff1
doc: reorganize collaborator guide
joyeecheung Nov 15, 2017
254d1b7
doc: fix a link in dgram.md
vsemozhetbyt Nov 17, 2017
0079b94
test: use arrow functions instead of bind
tniessen Nov 16, 2017
ff1da17
doc: explicitly document highWaterMark option
eps1lon Nov 15, 2017
f0fb1d4
build: enforce order of dependency when building addons
joyeecheung Nov 15, 2017
d748e4a
doc: add note about using cluster without networking
pimlie Nov 15, 2017
44bc65e
test: utilize common.mustCall() on child exit
sreepurnajasti Nov 13, 2017
3e62c38
src: fix size of CounterSet
wip0 Nov 13, 2017
4d85687
build: minor corrections to configure descriptions
danbev Nov 16, 2017
3531043
stream: use arrow fns for 'this' in readable
vipinmenon Nov 10, 2017
a69dcc0
doc: avoid mentioning 'uncaughtException'
lpinca Nov 9, 2017
c01d934
test: fs.write() if 3rd argument is a callback, not offset
Nov 15, 2017
333537a
doc: change v8 to V8
Trott Nov 17, 2017
d4e4207
src: use std::unique_ptr in base-object-inl.h
fhinkel Nov 16, 2017
7b9458b
test: reduce benchmark cases in test-benchmark-buffer
Trott Nov 18, 2017
ad5f2d2
src: use unique_ptr for http2_state
fhinkel Nov 16, 2017
be088b9
doc: add missing introduced_in comments
lpinca Nov 4, 2017
2c62ff9
build: do not build doc in source tarball
joyeecheung Nov 17, 2017
88a5c13
test: replace assert.throws w/ common.expectsError
SethGreylyn Nov 17, 2017
56afb7f
test: make debugging of inspector-port-zero easier
gibfahn Nov 2, 2017
92e0e2e
tools: allow running test.py without configuring
gibfahn Oct 30, 2017
72e2535
build: Allow linking against an external copy of nghttp2.
EdSchouten Nov 6, 2017
6558363
doc: remove IRC node-dev link from README
Trott Nov 17, 2017
cb430a7
doc: merge Working Groups with Contributing to Node.js in README
Trott Nov 17, 2017
44562dd
doc: add Contributing to Node.js to the README ToC
Trott Nov 17, 2017
96bf44a
doc: normalize ToC indentation with heading levels in README
Trott Nov 17, 2017
cbe1e5c
src: abstract getpid() operation
bnoordhuis Nov 20, 2017
fe1ceb9
src: inspector context name = program title + pid
bnoordhuis Nov 20, 2017
2fb6515
tools: use built-in padStart instead of padString
tniessen Nov 18, 2017
5aff3d2
tools: avoid using process.cwd in tools/lint-js
tniessen Nov 18, 2017
13b97e7
tools: remove useless function declaration
tniessen Nov 18, 2017
c5cd4f0
tools: make doc tool a bit more readable
tniessen Nov 18, 2017
33d04fd
inspector: no async tracking for promises
addaleax Nov 18, 2017
d106c02
doc: update AUTHORS list
targos Oct 28, 2017
c1e294e
test: remove unused parameter
xballoy Nov 21, 2017
475634b
test: remove unused parameter
fdescamps Nov 21, 2017
0b86469
test: remove unused variable
gflandre Nov 21, 2017
9a91cfc
test: remove unused variable
hexapode Nov 21, 2017
1053108
test: remove unused parameter
franher Nov 21, 2017
bf84ed0
benchmark: set maxHeaderListPairs in h2 headers.js
apapirovski Nov 21, 2017
e90c836
src: remove unprofessional slang in assertions
aqrln Nov 21, 2017
56c9069
test: remove unused parameter in test-next-tick-error-spin.js
FKSI Nov 21, 2017
096bd53
src: fix compiler warning
cjihrig Nov 21, 2017
c58c191
test: wrap callback in common.mustCall
suman-mitra Nov 21, 2017
69861cd
doc: add guybedford to collaborators
guybedford Nov 21, 2017
aab0a03
doc: update release table in V8 guide
ofrobots Nov 19, 2017
1ac3a44
doc: update mgol in AUTHORS.txt, add to .mailmap
mgol Nov 22, 2017
861082a
test: clean up inappropriate language
devsnek Nov 21, 2017
78a9aaa
src: add napi_handle_scope_mismatch to msg list
Nov 20, 2017
d328e06
test: use common.crashOnUnhandledRejection
madeinfree Nov 22, 2017
2aacb05
test: use crashOnUnhandledRejection
purepennons Nov 22, 2017
a213e51
test: use arrow function instead of bind
lance Nov 21, 2017
82393df
test: use common.crashOnUnhandledRejection
esbb48 Nov 22, 2017
9197f0c
test: use crashOnUnhandledRejection
roth1002 Nov 22, 2017
3d86f32
test: use common.crashOnUnhandledRejection
jimliu7434 Nov 22, 2017
7642577
test: fix linting error
jasnell Nov 22, 2017
a47b55d
test: use crashOnUnhandledRejection
imZack Nov 22, 2017
9226e67
test: add common.crashOnUnhandledRejection()
KyleYu Nov 22, 2017
53f9ce9
test: use common.crashOnUnhandledRejection()
IvanWei Nov 22, 2017
8441632
doc: use better terminology for build machines
addaleax Nov 19, 2017
3028fa7
test: dont need to remove nonexistent directory
ah-yu Nov 18, 2017
edfa62a
test: remove unlink function which is needless
ah-yu Nov 20, 2017
4369728
fs: use arrow functions instead of `.bind` and `self`
starkwang Nov 19, 2017
bf81c06
test,doc: document where common modules go
gibfahn Oct 8, 2017
ed9296d
doc: fs.readFile is async but not partitioned
davisjam Nov 20, 2017
cf52639
test: add common.crashOnUnhandledRejection()
Scya597 Nov 22, 2017
12073eb
test: use common.crashOnUnhandledRejection
zack9433 Nov 22, 2017
0b8c543
test: use common.crashOnUnhandledRejection
aryung Nov 22, 2017
5125e6c
test: add test on unhandled rejection
LarryLuTW Nov 22, 2017
dab1381
test: keep coverage reports after coverage-clean
apapirovski Sep 19, 2017
5d6fd0d
benchmark,path: remove unused variables
Oct 5, 2017
eb1f8c5
test: add crashonUnhandledRejection
Nov 22, 2017
c95ccfd
test: add common.crashOnHandleRejection
Jackyen Nov 22, 2017
474f857
test: use common.crashOnUnhandledRejection
Nov 22, 2017
8695511
test: use common.crashOnUnhandledRejection()
sorarize Nov 22, 2017
c1b02b9
tools/doc: add tools/remark-* to eslintignore
IvanWei Nov 22, 2017
fa6867d
test: use common.crashOnUnhandledRejection
Nov 22, 2017
dcab0de
doc: document resolve hook formats
azz Oct 22, 2017
cdb7d24
doc: add SharedArrayBuffer to Buffer documentation
ThomasdenH Sep 20, 2017
1ffa2f6
doc: update http URLs to https in CONTRIBUTING.md
him2him2 Nov 22, 2017
5ed2d3b
doc: update http URLs to https in GOVERNANCE.md
him2him2 Nov 22, 2017
f65fee0
doc: update http URLs to https in doc/api
him2him2 Nov 22, 2017
26500b7
doc: update http URLs to https in README.md
him2him2 Nov 22, 2017
23cfef1
doc: add maclover7 to collaborators
maclover7 Nov 24, 2017
88e6b59
n-api: use nullptr instead of NULL in node_api.cc
danbev Nov 23, 2017
ae5a870
doc: add ES Modules entry to who-to-cc
Trott Nov 22, 2017
10bf570
doc: fix typo in api doc of url.format(urlObject)
cxn-pkovacs Nov 25, 2017
e73c191
test: use common.crashOnUnhandledRejection
sj82516 Nov 23, 2017
11fd745
test: add common.crashOnUnhandledRejection()
w5151381guy Nov 22, 2017
8c8a2fd
test: use common.crashOnUnhandledRejection
Kcin1993 Nov 22, 2017
1fab8fa
test: use common.crashOnUnhandledRejection
yozian Nov 22, 2017
f19eab2
test: add test of stream Transform
kt3k Nov 26, 2017
d30502c
test: use Number.isNaN()
fossamagna Nov 26, 2017
8009513
doc: replace function with arrow function
Leko Nov 26, 2017
610164d
test: use arrow function
koooge Nov 26, 2017
6b99341
test: replace function with arrow function
Nov 26, 2017
5eb0c99
test: replace function with arrow function
karszawa Nov 26, 2017
77368fc
doc: replace function with arrow function in vm.md
narirou Nov 26, 2017
c5fdc53
doc: replace string with template string
Leko Nov 26, 2017
afe4c33
test: replace function with arrow function
Nov 26, 2017
cdab6ea
test: make use of Number.isNaN to test-readfloat.js
hiromoon Nov 26, 2017
5ac5663
test: fix isNAN->Number.isNAN
ykyz Nov 26, 2017
c2e3a10
build: remove empty VCLibrarianTool entry
danbev Nov 20, 2017
0d5075f
src: make base64.h self-contained
danbev Nov 21, 2017
51e660a
doc: caution against removing pseudoheaders
jasnell Nov 26, 2017
986e439
build: fix bsd build with gcc
Nov 4, 2017
e722ddd
doc: Add link for ECMAScript 2015
Nov 26, 2017
0b45b42
test: fix flaky parallel/test-http2-client-upload
addaleax Nov 27, 2017
3a9a5d8
doc: fix typo occuring -> occurring
Leko Nov 27, 2017
2d7e03f
http: do not assign intermediate variable
maclover7 Nov 27, 2017
4f0cdae
test: Update test-http-client-agent to use countdown timer
daxlab Nov 26, 2017
80d1671
test: Update test-http-parser-free to use countdown timer
daxlab Nov 26, 2017
91dfd90
build: add make lint-js-fix
joyeecheung Nov 24, 2017
4ebd75b
test: refactored http test to use countdown
mithunsasidharan Nov 22, 2017
af7d7a4
doc: move Code of Conduct to admin repo
MylesBorins Oct 23, 2017
a2c82c3
doc: non-partitioned async crypto operations
davisjam Nov 22, 2017
da40417
module: be lazy when creating CJS facades
bmeck Nov 20, 2017
f007426
tools: add lint fixer for `require-buffer`
Bamieh Nov 20, 2017
021d7df
test: Enable specifying flaky tests on fips
komawar Oct 16, 2017
28a0c10
tools,test: use Execute instead of check_output
refack Nov 29, 2017
97888e0
test: add es6 module global leakage tests
tinybeachthor Oct 17, 2017
f5a2cff
test: replace function with ES6 arrow function
kjunichi Nov 26, 2017
273bd7f
tools: update to ESLint 4.12.0
cjihrig Nov 26, 2017
281a330
module: fix for #17130 shared loader cjs dep
guybedford Nov 22, 2017
a20b774
doc: fix typo in stream.md
matthewleon Nov 27, 2017
f89efbc
test: remove common.tmpDirName
Trott Nov 22, 2017
b016cbb
test: fix flaky async-hooks/test-graph.signal
Trott Dec 6, 2017
8c2707b
doc: clarify fast-track of reversions
refack Nov 26, 2017
a6c7030
build: fix test-v8 target
targos Nov 23, 2017
a27df5d
test: replace function with arrow function
Leko Nov 27, 2017
4155216
doc: fix doc example for cctest
Nov 27, 2017
6789663
doc: add guide to maintaining npm
MylesBorins Oct 27, 2017
b1bfced
internal: add emitExperimentalWarning function
codeman869 Oct 25, 2017
dc24a78
tools: add Boxstarter script
bzoz Nov 14, 2017
ecb78e6
src: fix typo in NODE_OPTIONS whitelist
evanlucas Nov 28, 2017
77205b7
test: use v8 Default Allocator in cctest fixture
danbev Nov 28, 2017
dbae582
test: make CreateParams stack-allocated
danbev Nov 30, 2017
2af1bf5
doc,test: remove unnecessary await with return instances
Trott Nov 22, 2017
053eba0
tools: enable no-return-await lint rule
Trott Nov 22, 2017
9f73ce0
src: node_http2_state.h should not be executable
maclover7 Dec 1, 2017
88ae46d
doc: improve checkServerIdentity docs
Hannes-Magnusson-CK Nov 21, 2017
89c1959
doc: document tls.checkServerIdentity
Hannes-Magnusson-CK Nov 22, 2017
7d55374
test: refactored test-http-response-splitting to use countdown
mithunsasidharan Nov 27, 2017
dbcc378
test: update test/parallel/test-http-pipe-fs.js to use countdown
chungngoops Nov 27, 2017
50bd4b0
test: refactored test-http-allow-req-after-204-res to countdown
mithunsasidharan Nov 28, 2017
8f1db70
doc: be concise about serial commas
Trott Nov 29, 2017
ebcede3
doc: add missing serial commas
Trott Nov 29, 2017
80abd64
build,win: vcbuild refactoring call configure
refack Nov 25, 2017
073822f
doc: introduce categories to Cpp style guide
fhinkel Nov 17, 2017
9076c27
test: update test-http-status-reason-invalid-chars to use countdown
mithunsasidharan Nov 27, 2017
e6c5255
test: update test-http-upgrade-client to use countdown
mithunsasidharan Nov 27, 2017
11d44c6
test: make common.mustNotCall show file:linenumber
lance Nov 22, 2017
0813461
test: update test-http-timeout to use countdown
mithunsasidharan Dec 3, 2017
181db33
test: update test-http-response-multiheaders to use countdown
Dec 3, 2017
52e573d
test: use Countdown in http test
mithunsasidharan Dec 3, 2017
3bfe0e2
test: forbid `common.mustCall*()` in process exit handlers
Trott Dec 4, 2017
876966f
test: use common.mustCall in test-http-malformed-request
mithunsasidharan Dec 3, 2017
541062c
doc: update example in module registration
fhinkel Dec 4, 2017
babb288
test: replace assert.throws with common.expectsError
Leko Dec 4, 2017
0f6ce05
test: update test-http-request-dont-override-options to use common.mu…
mithunsasidharan Dec 3, 2017
d12d86e
test: fix flaky test-benchmark-events
Trott Dec 5, 2017
6dea0f8
test: add dgram benchmark test
jopann Oct 9, 2017
e4e1212
test: add more settings to test-benchmark-dgram
Trott Dec 5, 2017
e7ae8ae
doc: use colon consistently in assert.md
Trott Dec 5, 2017
3831e29
doc: improve punctuation in fs.open() text
Trott Dec 5, 2017
b26f9d6
doc: standardize preposition usage in fs.md
Trott Dec 5, 2017
77c2c1a
doc: edit module introduction
Trott Dec 5, 2017
ecbe2eb
doc: add serial comma in CPP_STYLE_GUIDE.md
Trott Dec 5, 2017
fa107dd
build: add serial commas to messages in configure script
Trott Dec 5, 2017
fadb297
doc: use serial comma in tls.md
Trott Dec 5, 2017
5b927b2
test: remove hidden use of common.PORT in parallel tests
Trott Dec 5, 2017
85ef429
doc: update AUTHORS list
targos Dec 4, 2017
f391d3c
test: refactor code to use common.mustCall
mithunsasidharan Dec 4, 2017
79f7564
test: add common.crashOnUnhandledRejection()
IHsuan Nov 22, 2017
4980517
doc: remove IPC channel implementation details
bzoz Dec 4, 2017
e515355
doc: remove unused link reference
apapirovski Dec 7, 2017
befb163
crypto: use SetNull instead of Set
danbev Dec 6, 2017
533cc5c
doc: fix typo in dns.md
Trott Dec 6, 2017
069fd23
doc: fix common typo involving one-time listeners
Trott Dec 6, 2017
d40c581
doc: fix typo in repl.md
Trott Dec 6, 2017
e0b6bc7
test: fix flaky test-benchmark-querystring
Trott Dec 7, 2017
d693dac
test: replace fs.accessSync with fs.existsSync
Leko Dec 4, 2017
cb7739d
util: remove check for global.process
devsnek Dec 3, 2017
4035686
doc: mention node-test-pull-request-lite job
maclover7 Dec 7, 2017
b54bc9c
test: update http test to use Countdown
onneri Dec 6, 2017
feb6de5
doc: add info on post-publishing ARM6 builds
mhdawson Dec 4, 2017
f9e0cb2
test: Use common.mustCall in http test
sreepurnajasti Dec 6, 2017
210d860
test: use Countdown in test-http-set-cookies
shilomagen Dec 6, 2017
964cebf
test: use Countdown in http-response-statuscode
daxlab Nov 26, 2017
ed13aac
test: use Number.isNaN instead of global isNaN
mithunsasidharan Dec 7, 2017
8d1a48a
doc: improve readability of COLLABORATOR_GUIDE.md
Trott Dec 7, 2017
947d3d2
doc: improve readability of README.md
Trott Dec 7, 2017
4658545
doc: improve text for Console constructor
Trott Dec 7, 2017
fd9c8b3
doc: immprove inode text in fs.md
Trott Dec 7, 2017
fdb216a
doc: add "Hello world" example for N-API
fhinkel Dec 2, 2017
ce060b7
test: use Countdown in http test
idandagan1 Dec 6, 2017
0c34bce
test: fix flaky test-benchmark-es
Trott Dec 7, 2017
94d9f20
src: fix missing handlescope bug in inspector
bnoordhuis Dec 7, 2017
889986a
doc: 'constructor' implies use of new keyword
CameronMoorehead Nov 28, 2017
9868ce5
tools: replace space with \b in regex
DiegoRBaquero Dec 6, 2017
c8220b9
test: update test-http-should-keep-alive to use countdown
tomeromrix Dec 6, 2017
b718e45
util: fix negative 0 check in inspect
devsnek Dec 6, 2017
d8eea81
test: improve assert messages in repl-reset-event
AdriVanHoudt Nov 6, 2017
88a4d04
crypto: do not reach into OpenSSL internals for ThrowCryptoError
davidben Nov 3, 2017
5e12a9c
doc: esm loader example with module.builtinModules
guybedford Nov 29, 2017
9c93b97
build: define HAVE_OPENSSL macro for cctest
Dec 4, 2017
32adb70
test: update http test to use common.mustCall
collin5 Dec 7, 2017
c544194
build: allow running configure from any directory
gibfahn Nov 26, 2017
fb33231
test: use Countdown in http-agent test
fedekau Dec 7, 2017
8e4cb1b
doc: simplify and clarify FIPS text in BUILDING.md
Trott Dec 7, 2017
9540c80
src: remove unused include node_crypto_clienthello
danbev Dec 8, 2017
042ae4a
doc: add link to debugger in process.md
Delapouite Dec 7, 2017
b726776
test: refactored to remove unnecessary variables
mithunsasidharan Dec 8, 2017
e93a6da
benchmark: fix http/simple.js benchmark
apapirovski Dec 9, 2017
329f3de
doc: fix modules.md export example
apapirovski Dec 9, 2017
a4ddb0c
test: refactor test-http-default-port
addaleax Dec 9, 2017
c1fd487
tools: simplify prefer-common-mustnotcall rule
cjihrig Dec 9, 2017
7f979a7
tools: simplify prefer-assert-methods rule
cjihrig Dec 9, 2017
4a10cf5
tools: simplify buffer-constructor rule
cjihrig Dec 9, 2017
4288b96
tools: simplify no-let-in-for-declaration rule
cjihrig Dec 9, 2017
c7891c4
test: refactor test-child-process-pass-fd
Trott Dec 10, 2017
0666968
test: remove common.fixturesDir from tests
Trott Dec 2, 2017
c6a6a7a
test: remove fixturesDir from common module
Trott Dec 2, 2017
8bab2db
doc: make error descriptions more concise
Trott Nov 9, 2017
fcb8b91
doc: add capitalization styling to STYLE_GUIDE
Trott Nov 18, 2017
d23df03
doc: prepare for v8/V8 linting in doc text
Trott Nov 19, 2017
f34ae26
doc: use "JavaScript" instead of "Javascript"
Trott Nov 19, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
doc: make error descriptions more concise
Remove the practice of starting most error descriptions with "Used when"
or wordier variations.

Change errors of the form:

> Used when the type of an asynchronous resource is invalid.

...to:

> The type of an asynchronous resource was invalid.

Change errors of the form:

> The `'ERR_INVALID_CURSOR_POS'` is thrown specifically when a cursor on
> a given stream is attempted to move to a specified row without a
> specified column.

...to:

> A cursor on a given stream cannot be moved to a specified row without
> a specified column.

PR-URL: #16954
Backport-PR-URL: #17767
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Trott authored and gibfahn committed Dec 20, 2017

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
commit 8bab2db6017b5286e83f173db04b7cb62fb4404e
270 changes: 126 additions & 144 deletions doc/api/errors.md
Original file line number Diff line number Diff line change
@@ -583,61 +583,60 @@ found [here][online].
<a id="ERR_ARG_NOT_ITERABLE"></a>
### ERR_ARG_NOT_ITERABLE

Used generically to identify that an iterable argument (i.e. a value that works
with `for...of` loops) is required, but not provided to a Node.js API.
An iterable argument (i.e. a value that works with `for...of` loops) was
required, but not provided to a Node.js API.

<a id="ERR_ASYNC_CALLBACK"></a>
### ERR_ASYNC_CALLBACK

Used with `AsyncHooks` to indicate an attempt of registering something that is
not a function as a callback.
An attempt was made to register something that is not a function as an
`AsyncHooks` callback.

<a id="ERR_ASYNC_TYPE"></a>
### ERR_ASYNC_TYPE

Used when the type of an asynchronous resource is invalid. Note that users are
also able to define their own types when using the public embedder API.
The type of an asynchronous resource was invalid. Note that users are also able
to define their own types if using the public embedder API.

<a id="ERR_ENCODING_INVALID_ENCODED_DATA"></a>
### ERR_ENCODING_INVALID_ENCODED_DATA

Used by the `util.TextDecoder()` API when the data provided is invalid
according to the encoding provided.
Data provided to `util.TextDecoder()` API was invalid according to the encoding
provided.

<a id="ERR_ENCODING_NOT_SUPPORTED"></a>
### ERR_ENCODING_NOT_SUPPORTED

Used by the `util.TextDecoder()` API when the encoding provided is not one of
the [WHATWG Supported Encodings][].
Encoding provided to `util.TextDecoder()` API was not one of the
[WHATWG Supported Encodings][].

<a id="ERR_FALSY_VALUE_REJECTION"></a>
### ERR_FALSY_VALUE_REJECTION

Used by the `util.callbackify()` API when a callbackified `Promise` is rejected
with a falsy value (e.g. `null`).
A `Promise` that was callbackified via `util.callbackify()` was rejected with a
falsy value.

<a id="ERR_HTTP_HEADERS_SENT"></a>
### ERR_HTTP_HEADERS_SENT

Used when headers have already been sent and another attempt is made to add
more headers.
An attempt was made to add more headers after the headers had already been sent.

<a id="ERR_HTTP_INVALID_CHAR"></a>
### ERR_HTTP_INVALID_CHAR

Used when an invalid character is found in an HTTP response status message
(reason phrase).
An invalid character was found in an HTTP response status message (reason
phrase).

<a id="ERR_HTTP_INVALID_STATUS_CODE"></a>
### ERR_HTTP_INVALID_STATUS_CODE

Used for status codes outside the regular status code ranges (100-999).
Status code was outside the regular status code range (100-999).

<a id="ERR_HTTP_TRAILER_INVALID"></a>
### ERR_HTTP_TRAILER_INVALID

Used when the `Trailer` header is set even though the transfer encoding does not
support that.
The `Trailer` header was set even though the transfer encoding does not support
that.

<a id="ERR_HTTP2_CONNECT_AUTHORITY"></a>
### ERR_HTTP2_CONNECT_AUTHORITY
@@ -660,35 +659,33 @@ forbidden.
<a id="ERR_HTTP2_FRAME_ERROR"></a>
### ERR_HTTP2_FRAME_ERROR

Used when a failure occurs sending an individual frame on the HTTP/2
session.
A failure occurred sending an individual frame on the HTTP/2 session.

<a id="ERR_HTTP2_HEADER_REQUIRED"></a>
### ERR_HTTP2_HEADER_REQUIRED

Used when a required header is missing in an HTTP/2 message.
A required header was missing in an HTTP/2 message.

<a id="ERR_HTTP2_HEADER_SINGLE_VALUE"></a>
### ERR_HTTP2_HEADER_SINGLE_VALUE

Used when multiple values have been provided for an HTTP header field that
required to have only a single value.
Multiple values were provided for an HTTP/2 header field that was required to
have only a single value.

<a id="ERR_HTTP2_HEADERS_AFTER_RESPOND"></a>
### ERR_HTTP2_HEADERS_AFTER_RESPOND

Used when trying to specify additional headers after an HTTP/2 response
initiated.
An additional headers was specified after an HTTP/2 response was initiated.

<a id="ERR_HTTP2_HEADERS_OBJECT"></a>
### ERR_HTTP2_HEADERS_OBJECT

Used when an HTTP/2 Headers Object is expected.
An HTTP/2 Headers Object was expected.

<a id="ERR_HTTP2_HEADERS_SENT"></a>
### ERR_HTTP2_HEADERS_SENT

Used when an attempt is made to send multiple response headers.
An attempt was made to send multiple response headers.

<a id="ERR_HTTP2_INFO_HEADERS_AFTER_RESPOND"></a>
### ERR_HTTP2_INFO_HEADERS_AFTER_RESPOND
@@ -711,7 +708,7 @@ requests and responses.
<a id="ERR_HTTP2_INVALID_HEADER_VALUE"></a>
### ERR_HTTP2_INVALID_HEADER_VALUE

Used to indicate that an invalid HTTP2 header value has been specified.
An invalid HTTP/2 header value was specified.

<a id="ERR_HTTP2_INVALID_INFO_STATUS"></a>
### ERR_HTTP2_INVALID_INFO_STATUS
@@ -735,8 +732,8 @@ and `:method`) may be used.
<a id="ERR_HTTP2_INVALID_SESSION"></a>
### ERR_HTTP2_INVALID_SESSION

Used when any action is performed on an `Http2Session` object that has already
been destroyed.
An action was performed on an `Http2Session` object that had already been
destroyed.

<a id="ERR_HTTP2_INVALID_SETTING_VALUE"></a>
### ERR_HTTP2_INVALID_SETTING_VALUE
@@ -746,35 +743,34 @@ An invalid value has been specified for an HTTP/2 setting.
<a id="ERR_HTTP2_INVALID_STREAM"></a>
### ERR_HTTP2_INVALID_STREAM

Used when an operation has been performed on a stream that has already been
destroyed.
An operation was performed on a stream that had already been destroyed.

<a id="ERR_HTTP2_MAX_PENDING_SETTINGS_ACK"></a>
### ERR_HTTP2_MAX_PENDING_SETTINGS_ACK

Whenever an HTTP/2 `SETTINGS` frame is sent to a connected peer, the peer is
required to send an acknowledgement that it has received and applied the new
SETTINGS. By default, a maximum number of un-acknowledged `SETTINGS` frame may
`SETTINGS`. By default, a maximum number of unacknowledged `SETTINGS` frames may
be sent at any given time. This error code is used when that limit has been
reached.

<a id="ERR_HTTP2_NO_SOCKET_MANIPULATION"></a>
### ERR_HTTP2_NO_SOCKET_MANIPULATION

Used when attempting to directly manipulate (e.g read, write, pause, resume,
etc.) a socket attached to an `Http2Session`.
An attempt was made to directly manipulate (read, write, pause, resume, etc.) a
socket attached to an `Http2Session`.

<a id="ERR_HTTP2_OUT_OF_STREAMS"></a>
### ERR_HTTP2_OUT_OF_STREAMS

Used when the maximum number of streams on a single HTTP/2 session have been
created.
The number of streams created on a single HTTP/2 session reached the maximum
limit.

<a id="ERR_HTTP2_PAYLOAD_FORBIDDEN"></a>
### ERR_HTTP2_PAYLOAD_FORBIDDEN

Used when a message payload is specified for an HTTP response code for which
a payload is forbidden.
A message payload was specified for an HTTP response code for which a payload is
forbidden.

<a id="ERR_HTTP2_PING_CANCEL"></a>
### ERR_HTTP2_PING_CANCEL
@@ -789,27 +785,26 @@ HTTP/2 ping payloads must be exactly 8 bytes in length.
<a id="ERR_HTTP2_PSEUDOHEADER_NOT_ALLOWED"></a>
### ERR_HTTP2_PSEUDOHEADER_NOT_ALLOWED

Used to indicate that an HTTP/2 pseudo-header has been used inappropriately.
Pseudo-headers are header key names that begin with the `:` prefix.
An HTTP/2 pseudo-header has been used inappropriately. Pseudo-headers are header
key names that begin with the `:` prefix.

<a id="ERR_HTTP2_PUSH_DISABLED"></a>
### ERR_HTTP2_PUSH_DISABLED

Used when push streams have been disabled by the client but an attempt to
create a push stream is made.
An attempt was made to create a push stream, which had been disabled by the
client.

<a id="ERR_HTTP2_SEND_FILE"></a>
### ERR_HTTP2_SEND_FILE

Used when an attempt is made to use the
`Http2Stream.prototype.responseWithFile()` API to send a non-regular file.
An attempt was made to use the `Http2Stream.prototype.responseWithFile()` API to
send something other than a regular file.

<a id="ERR_HTTP2_SOCKET_BOUND"></a>
### ERR_HTTP2_SOCKET_BOUND

Used when an attempt is made to connect a `Http2Session` object to a
`net.Socket` or `tls.TLSSocket` that has already been bound to another
`Http2Session` object.
An attempt was made to connect a `Http2Session` object to a `net.Socket` or
`tls.TLSSocket` that had already been bound to another `Http2Session` object.

<a id="ERR_HTTP2_STATUS_101"></a>
### ERR_HTTP2_STATUS_101
@@ -825,13 +820,12 @@ between `100` and `599` (inclusive).
<a id="ERR_HTTP2_STREAM_CLOSED"></a>
### ERR_HTTP2_STREAM_CLOSED

Used when an action has been performed on an HTTP/2 Stream that has already
been closed.
An action was performed on an HTTP/2 Stream that had already been closed.

<a id="ERR_HTTP2_STREAM_ERROR"></a>
### ERR_HTTP2_STREAM_ERROR

Used when a non-zero error code has been specified in an `RST_STREAM` frame.
A non-zero error code was been specified in an `RST_STREAM` frame.

<a id="ERR_HTTP2_STREAM_SELF_DEPENDENCY"></a>
### ERR_HTTP2_STREAM_SELF_DEPENDENCY
@@ -843,84 +837,79 @@ made to mark a stream and dependent of itself.
<a id="ERR_HTTP2_UNSUPPORTED_PROTOCOL"></a>
### ERR_HTTP2_UNSUPPORTED_PROTOCOL

Used when `http2.connect()` is passed a URL that uses any protocol other than
`http:` or `https:`.
`http2.connect()` was passed a URL that uses any protocol other than `http:` or
`https:`.

<a id="ERR_INDEX_OUT_OF_RANGE"></a>
### ERR_INDEX_OUT_OF_RANGE

Used when a given index is out of the accepted range (e.g. negative offsets).
A given index was out of the accepted range (e.g. negative offsets).

<a id="ERR_INVALID_ARG_TYPE"></a>
### ERR_INVALID_ARG_TYPE

Used generically to identify that an argument of the wrong type has been passed
to a Node.js API.
An argument of the wrong type was passed to a Node.js API.

<a id="ERR_INVALID_ASYNC_ID"></a>
### ERR_INVALID_ASYNC_ID

Used with `AsyncHooks` when an invalid `asyncId` or `triggerAsyncId` is passed.
An id less than -1 should never happen.
An invalid `asyncId` or `triggerAsyncId` was passed using `AsyncHooks`. An id
less than -1 should never happen.

<a id="ERR_INVALID_CALLBACK"></a>
### ERR_INVALID_CALLBACK

Used generically to identify that a callback function is required and has not
been provided to a Node.js API.
A callback function was required but was not been provided to a Node.js API.

<a id="ERR_INVALID_FILE_URL_HOST"></a>
### ERR_INVALID_FILE_URL_HOST

Used when a Node.js API that consumes `file:` URLs (such as certain functions in
the [`fs`][] module) encounters a file URL with an incompatible host. Currently,
this situation can only occur on Unix-like systems, where only `localhost` or an
empty host is supported.
A Node.js API that consumes `file:` URLs (such as certain functions in the
[`fs`][] module) encountered a file URL with an incompatible host. This
situation can only occur on Unix-like systems where only `localhost` or an empty
host is supported.

<a id="ERR_INVALID_FILE_URL_PATH"></a>
### ERR_INVALID_FILE_URL_PATH

Used when a Node.js API that consumes `file:` URLs (such as certain
functions in the [`fs`][] module) encounters a file URL with an incompatible
path. The exact semantics for determining whether a path can be used is
platform-dependent.
A Node.js API that consumes `file:` URLs (such as certain functions in the
[`fs`][] module) encountered a file URL with an incompatible path. The exact
semantics for determining whether a path can be used is platform-dependent.

<a id="ERR_INVALID_HANDLE_TYPE"></a>
### ERR_INVALID_HANDLE_TYPE

Used when an attempt is made to send an unsupported "handle" over an IPC
communication channel to a child process. See [`subprocess.send()`] and
[`process.send()`] for more information.
An attempt was made to send an unsupported "handle" over an IPC communication
channel to a child process. See [`subprocess.send()`] and [`process.send()`] for
more information.

<a id="ERR_INVALID_OPT_VALUE"></a>
### ERR_INVALID_OPT_VALUE

Used generically to identify when an invalid or unexpected value has been
passed in an options object.
An invalid or unexpected value was passed in an options object.

<a id="ERR_INVALID_PERFORMANCE_MARK"></a>
### ERR_INVALID_PERFORMANCE_MARK

Used by the Performance Timing API (`perf_hooks`) when a performance mark is
While using the Performance Timing API (`perf_hooks`), a performance mark is
invalid.

<a id="ERR_INVALID_PROTOCOL"></a>
### ERR_INVALID_PROTOCOL

Used when an invalid `options.protocol` is passed.
An invalid `options.protocol` was passed.

<a id="ERR_INVALID_SYNC_FORK_INPUT"></a>
### ERR_INVALID_SYNC_FORK_INPUT

Used when a `Buffer`, `Uint8Array` or `string` is provided as stdio input to a
A `Buffer`, `Uint8Array` or `string` was provided as stdio input to a
synchronous fork. See the documentation for the
[`child_process`](child_process.html) module for more information.

<a id="ERR_INVALID_THIS"></a>
### ERR_INVALID_THIS

Used generically to identify that a Node.js API function is called with an
incompatible `this` value.
A Node.js API function was called with an incompatible `this` value.

Example:

@@ -936,215 +925,208 @@ urlSearchParams.has.call(buf, 'foo');
<a id="ERR_INVALID_TUPLE"></a>
### ERR_INVALID_TUPLE

Used when an element in the `iterable` provided to the [WHATWG][WHATWG URL
API] [`URLSearchParams` constructor][`new URLSearchParams(iterable)`] does not
An element in the `iterable` provided to the [WHATWG][WHATWG URL API]
[`URLSearchParams` constructor][`new URLSearchParams(iterable)`] did not
represent a `[name, value]` tuple – that is, if an element is not iterable, or
does not consist of exactly two elements.

<a id="ERR_INVALID_URL"></a>
### ERR_INVALID_URL

Used when an invalid URL is passed to the [WHATWG][WHATWG URL API]
An invalid URL was passed to the [WHATWG][WHATWG URL API]
[`URL` constructor][`new URL(input)`] to be parsed. The thrown error object
typically has an additional property `'input'` that contains the URL that failed
to parse.

<a id="ERR_INVALID_URL_SCHEME"></a>
### ERR_INVALID_URL_SCHEME

Used generically to signify an attempt to use a URL of an incompatible scheme
(aka protocol) for a specific purpose. It is currently only used in the
[WHATWG URL API][] support in the [`fs`][] module (which only accepts URLs with
`'file'` scheme), but may be used in other Node.js APIs as well in the future.
An attempt was made to use a URL of an incompatible scheme (protocol) for a
specific purpose. It is only used in the [WHATWG URL API][] support in the
[`fs`][] module (which only accepts URLs with `'file'` scheme), but may be used
in other Node.js APIs as well in the future.

<a id="ERR_IPC_CHANNEL_CLOSED"></a>
### ERR_IPC_CHANNEL_CLOSED

Used when an attempt is made to use an IPC communication channel that has
already been closed.
An attempt was made to use an IPC communication channel that was already closed.

<a id="ERR_IPC_DISCONNECTED"></a>
### ERR_IPC_DISCONNECTED

Used when an attempt is made to disconnect an already disconnected IPC
communication channel between two Node.js processes. See the documentation for
the [`child_process`](child_process.html) module for more information.
An attempt was made to disconnect an IPC communication channel that was already
disconnected. See the documentation for the
[`child_process`](child_process.html) module for more information.

<a id="ERR_IPC_ONE_PIPE"></a>
### ERR_IPC_ONE_PIPE

Used when an attempt is made to create a child Node.js process using more than
one IPC communication channel. See the documentation for the
An attempt was made to create a child Node.js process using more than one IPC
communication channel. See the documentation for the
[`child_process`](child_process.html) module for more information.

<a id="ERR_IPC_SYNC_FORK"></a>
### ERR_IPC_SYNC_FORK

Used when an attempt is made to open an IPC communication channel with a
synchronous forked Node.js process. See the documentation for the
An attempt was made to open an IPC communication channel with a synchronously
forked Node.js process. See the documentation for the
[`child_process`](child_process.html) module for more information.

<a id="ERR_MISSING_ARGS"></a>
### ERR_MISSING_ARGS

Used when a required argument of a Node.js API is not passed. This is currently
only used in the [WHATWG URL API][] for strict compliance with the specification
(which in some cases may accept `func(undefined)` but not `func()`). In most
native Node.js APIs, `func(undefined)` and `func()` are treated identically, and
the [`ERR_INVALID_ARG_TYPE`][] error code may be used instead.
A required argument of a Node.js API was not passed. This is only used for
strict compliance with the API specification (which in some cases may accept
`func(undefined)` but not `func()`). In most native Node.js APIs,
`func(undefined)` and `func()` are treated identically, and the
[`ERR_INVALID_ARG_TYPE`][] error code may be used instead.

<a id="ERR_NAPI_CONS_FUNCTION"></a>
### ERR_NAPI_CONS_FUNCTION

Used by the `N-API` when a constructor passed is not a function.
While using `N-API`, a constructor passed was not a function.

<a id="ERR_NAPI_CONS_PROTOTYPE_OBJECT"></a>
### ERR_NAPI_CONS_PROTOTYPE_OBJECT

Used by the `N-API` when `Constructor.prototype` is not an object.
While using `N-API`, `Constructor.prototype` was not an object.

<a id="ERR_NO_ICU"></a>
### ERR_NO_ICU

Used when an attempt is made to use features that require [ICU][], while
Node.js is not compiled with ICU support.
An attempt was made to use features that require [ICU][], but Node.js was not
compiled with ICU support.

<a id="ERR_OUTOFMEMORY"></a>
### ERR_OUTOFMEMORY

Used generically to identify that an operation caused an out of memory
condition.
An operation caused an out-of-memory condition.

<a id="ERR_SOCKET_ALREADY_BOUND"></a>
### ERR_SOCKET_ALREADY_BOUND
Used when an attempt is made to bind a socket that has already been bound.

An attempt was made to bind a socket that has already been bound.

<a id="ERR_SOCKET_BAD_PORT"></a>
### ERR_SOCKET_BAD_PORT

Used when an API function expecting a port > 0 and < 65536 receives an invalid
value.
An API function expecting a port > 0 and < 65536 received an invalid value.

<a id="ERR_SOCKET_BAD_TYPE"></a>
### ERR_SOCKET_BAD_TYPE

Used when an API function expecting a socket type (`udp4` or `udp6`) receives an
invalid value.
An API function expecting a socket type (`udp4` or `udp6`) received an invalid
value.

<a id="ERR_SOCKET_CANNOT_SEND"></a>
### ERR_SOCKET_CANNOT_SEND

Used when data cannot be sent on a socket.
Data could be sent on a socket.

<a id="ERR_SOCKET_CLOSED"></a>
### ERR_SOCKET_CLOSED

Used when an attempt is made to operate on an already closed socket.
An attempt was made to operate on an already closed socket.

<a id="ERR_SOCKET_DGRAM_NOT_RUNNING"></a>
### ERR_SOCKET_DGRAM_NOT_RUNNING

Used when a call is made and the UDP subsystem is not running.
A call was made and the UDP subsystem was not running.

<a id="ERR_STDERR_CLOSE"></a>
### ERR_STDERR_CLOSE

Used when an attempt is made to close the `process.stderr` stream. By design,
Node.js does not allow `stdout` or `stderr` Streams to be closed by user code.
An attempt was made to close the `process.stderr` stream. By design, Node.js
does not allow `stdout` or `stderr` streams to be closed by user code.

<a id="ERR_STDOUT_CLOSE"></a>
### ERR_STDOUT_CLOSE

Used when an attempt is made to close the `process.stdout` stream. By design,
Node.js does not allow `stdout` or `stderr` Streams to be closed by user code.
An attempt was made to close the `process.stdout` stream. By design, Node.js
does not allow `stdout` or `stderr` streams to be closed by user code.

<a id="ERR_TLS_CERT_ALTNAME_INVALID"></a>
### ERR_TLS_CERT_ALTNAME_INVALID

Used with TLS, when the hostname/IP of the peer does not match any of the
While using TLS, the hostname/IP of the peer did not match any of the
subjectAltNames in its certificate.

<a id="ERR_TLS_DH_PARAM_SIZE"></a>
### ERR_TLS_DH_PARAM_SIZE

Used with TLS when the parameter offered for the Diffie-Hellman (`DH`)
While using TLS, the parameter offered for the Diffie-Hellman (`DH`)
key-agreement protocol is too small. By default, the key length must be greater
than or equal to 1024 bits to avoid vulnerabilities, even though it is strongly
recommended to use 2048 bits or larger for stronger security.

<a id="ERR_TLS_HANDSHAKE_TIMEOUT"></a>
### ERR_TLS_HANDSHAKE_TIMEOUT

A TLS error emitted by the server whenever a TLS/SSL handshake times out. In
this case, the server must also abort the connection.
A TLS/SSL handshake timed out. In this case, the server must also abort the
connection.

<a id="ERR_TLS_RENEGOTIATION_FAILED"></a>
### ERR_TLS_RENEGOTIATION_FAILED

Used when a TLS renegotiation request has failed in a non-specific way.
A TLS renegotiation request has failed in a non-specific way.

<a id="ERR_TLS_REQUIRED_SERVER_NAME"></a>
### ERR_TLS_REQUIRED_SERVER_NAME

Used with TLS, when calling the `server.addContext()` method without providing
While using TLS, the `server.addContext()` method was called without providing
a hostname in the first parameter.

<a id="ERR_TLS_SESSION_ATTACK"></a>
### ERR_TLS_SESSION_ATTACK

Used when an excessive amount of TLS renegotiations is detected, which is a
potential vector for denial-of-service attacks.
An excessive amount of TLS renegotiations is detected, which is a potential
vector for denial-of-service attacks.

<a id="ERR_TRANSFORM_ALREADY_TRANSFORMING"></a>
### ERR_TRANSFORM_ALREADY_TRANSFORMING

Used in Transform streams when the stream finishes while it is still
transforming.
A Transform stream finished while it was still transforming.

<a id="ERR_TRANSFORM_WITH_LENGTH_0"></a>
### ERR_TRANSFORM_WITH_LENGTH_0

Used in Transform streams when the stream finishes with data still in the write
buffer.
A Transform stream finished with data still in the write buffer.

<a id="ERR_UNKNOWN_SIGNAL"></a>
### ERR_UNKNOWN_SIGNAL

Used when an invalid or unknown process signal is passed to an API expecting a
valid signal (such as [`subprocess.kill()`][]).
An invalid or unknown process signal was passed to an API expecting a valid
signal (such as [`subprocess.kill()`][]).

<a id="ERR_UNKNOWN_STDIN_TYPE"></a>
### ERR_UNKNOWN_STDIN_TYPE

Used when an attempt is made to launch a Node.js process with an unknown `stdin`
file type. Errors of this kind cannot *typically* be caused by errors in user
code, although it is not impossible. Occurrences of this error are most likely
an indication of a bug within Node.js itself.
An attempt was made to launch a Node.js process with an unknown `stdin` file
type. This error is usually an indication of a bug within Node.js itself,
although it is possible for user code to trigger it.

<a id="ERR_UNKNOWN_STREAM_TYPE"></a>
### ERR_UNKNOWN_STREAM_TYPE

Used when an attempt is made to launch a Node.js process with an unknown
`stdout` or `stderr` file type. Errors of this kind cannot *typically* be caused
by errors in user code, although it is not impossible. Occurrences of this error
are most likely an indication of a bug within Node.js itself.
An attempt was made to launch a Node.js process with an unknown `stdout` or
`stderr` file type. This error is usually an indication of a bug within Node.js
itself, although it is possible for user code to trigger it.

<a id="ERR_V8BREAKITERATOR"></a>
### ERR_V8BREAKITERATOR

Used when the V8 BreakIterator API is used but the full ICU data set is not
installed.
The V8 BreakIterator API was used but the full ICU data set is not installed.

<a id="ERR_VALID_PERFORMANCE_ENTRY_TYPE"></a>
### ERR_VALID_PERFORMANCE_ENTRY_TYPE

Used by the Performance Timing API (`perf_hooks`) when no valid performance
While using the Performance Timing API (`perf_hooks`), no valid performance
entry types were found.

<a id="ERR_VALUE_OUT_OF_RANGE"></a>
### ERR_VALUE_OUT_OF_RANGE

Used when a given value is out of the accepted range.
A given value is out of the accepted range.

[`ERR_INVALID_ARG_TYPE`]: #ERR_INVALID_ARG_TYPE
[`subprocess.kill()`]: child_process.html#child_process_subprocess_kill_signal