diff options
author | Gus Caplan <me@gus.host> | 2019-11-12 09:30:02 +0300 |
---|---|---|
committer | Gus Caplan <me@gus.host> | 2020-05-14 20:39:23 +0300 |
commit | 5ae5262f448295e314393dad4c491259793cea3f (patch) | |
tree | 412178bf21e1eb5e5727fcad1744233c0931ef5e /lib/internal/errors.js | |
parent | 241ed44a0b06db45c97681c164fc1098e7c9f0d2 (diff) |
src: add support for TLA
PR-URL: https://github.com/nodejs/node/pull/30370
Reviewed-By: Guy Bedford <guybedford@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Diffstat (limited to 'lib/internal/errors.js')
-rw-r--r-- | lib/internal/errors.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/internal/errors.js b/lib/internal/errors.js index 2a162f14b24..1f5b07fe154 100644 --- a/lib/internal/errors.js +++ b/lib/internal/errors.js @@ -805,6 +805,7 @@ E('ERR_ENCODING_INVALID_ENCODED_DATA', function(encoding, ret) { }, TypeError); 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_FALSY_VALUE_REJECTION', function(reason) { this.reason = reason; return 'Promise was rejected with falsy value'; |