Description
While taking a look at #21435 / #21421, I did a quick and dirty check which errors are being instantiated and /lib
and checked what happened.
-
ERR_MISSING_DYNAMIC_INTSTANTIATE_HOOK
seems to be used in loader, but never defined.
node/lib/internal/modules/esm/loader.js
Lines 6 to 8 in b56f65e
node/lib/internal/modules/esm/loader.js
Lines 95 to 96 in b56f65e
-
ERR_TLS_RENEGOTIATE
seems to be used in tls, but never defined.
Lines 47 to 52 in b56f65e
Lines 572 to 574 in b56f65e
-
ERR_HTTP2_SETTINGS_CANCEL
seems to be used in http2, but never defined.
node/lib/internal/http2/core.js
Lines 45 to 62 in b56f65e
node/lib/internal/http2/core.js
Lines 615 to 616 in b56f65e
This probably affects all 10.x versions, but was not backported to earlier branches as is a semver-major.
Blame points at 1d2fd8b / #19137.
/cc @targos
This also probably needs a testcase when fixed, I do not have one atm.