Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames M Snell <jasnell@gmail.com>2020-05-24 01:43:58 +0300
committerJames M Snell <jasnell@gmail.com>2020-05-28 16:31:58 +0300
commit785842a053d62820027c6b62b41110113a7f1755 (patch)
tree0604009d2b0a263402add3718d2580127a105275 /lib/internal/errors.js
parent47044a91c6269a395098cf74d4b2a2e70df5c321 (diff)
events: initial implementation of experimental EventTarget
See documentation changes for details Signed-off-by: James M Snell <jasnell@gmail.com> PR-URL: https://github.com/nodejs/node/pull/33556 Refs: https://github.com/nodejs/node/pull/33527 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Bradley Farias <bradley.meck@gmail.com>
Diffstat (limited to 'lib/internal/errors.js')
-rw-r--r--lib/internal/errors.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/internal/errors.js b/lib/internal/errors.js
index e91ef31c16a..5af14fe60b0 100644
--- a/lib/internal/errors.js
+++ b/lib/internal/errors.js
@@ -825,6 +825,7 @@ E('ERR_ENCODING_INVALID_ENCODED_DATA', function(encoding, ret) {
E('ERR_ENCODING_NOT_SUPPORTED', 'The "%s" encoding is not supported',
RangeError);
E('ERR_EVAL_ESM_CANNOT_PRINT', '--print cannot be used with ESM input', Error);
+E('ERR_EVENT_RECURSION', 'The event "%s" is already being dispatched', Error);
E('ERR_FALSY_VALUE_REJECTION', function(reason) {
this.reason = reason;
return 'Promise was rejected with falsy value';