diff options
| author | Anna Henningsen <anna@addaleax.net> | 2020-03-07 06:12:08 +0100 |
|---|---|---|
| committer | Anna Henningsen <anna@addaleax.net> | 2020-03-13 17:34:43 +0100 |
| commit | 605615e5f33df41a307a0921f451b6dabb89410c (patch) | |
| tree | ac85c4e55ad401eeb5ea23f8f4218e46b474e81d /src/node_errors.h | |
| parent | 417d847de2b5e7d1eec96f099f6e20593e1a97b8 (diff) | |
| download | node-new-605615e5f33df41a307a0921f451b6dabb89410c.tar.gz | |
esm: port loader code to JS
There is no reason for this to be in C++. Using JavaScript means that
the code is more accessible to more developers, which is important
for any Node.js feature. This also simplifies the code significantly
in some areas. On the technical side, this potentially also enables
making some of the file system operations that are involved
asynchronous.
PR-URL: https://github.com/nodejs/node/pull/32201
Reviewed-By: Bradley Farias <bradley.meck@gmail.com>
Reviewed-By: Guy Bedford <guybedford@gmail.com>
Diffstat (limited to 'src/node_errors.h')
| -rw-r--r-- | src/node_errors.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/node_errors.h b/src/node_errors.h index 960cb72532..0c4dcf63e7 100644 --- a/src/node_errors.h +++ b/src/node_errors.h @@ -43,9 +43,6 @@ void OnFatalError(const char* location, const char* message); V(ERR_INVALID_ARG_VALUE, TypeError) \ V(ERR_OSSL_EVP_INVALID_DIGEST, Error) \ V(ERR_INVALID_ARG_TYPE, TypeError) \ - V(ERR_INVALID_MODULE_SPECIFIER, TypeError) \ - V(ERR_INVALID_PACKAGE_CONFIG, Error) \ - V(ERR_INVALID_PACKAGE_TARGET, Error) \ V(ERR_INVALID_TRANSFER_OBJECT, TypeError) \ V(ERR_MEMORY_ALLOCATION_FAILED, Error) \ V(ERR_MISSING_ARGS, TypeError) \ @@ -53,9 +50,7 @@ void OnFatalError(const char* location, const char* message); V(ERR_MISSING_PASSPHRASE, TypeError) \ V(ERR_MISSING_PLATFORM_FOR_WORKER, Error) \ V(ERR_NON_CONTEXT_AWARE_DISABLED, Error) \ - V(ERR_MODULE_NOT_FOUND, Error) \ V(ERR_OUT_OF_RANGE, RangeError) \ - V(ERR_PACKAGE_PATH_NOT_EXPORTED, Error) \ V(ERR_SCRIPT_EXECUTION_INTERRUPTED, Error) \ V(ERR_SCRIPT_EXECUTION_TIMEOUT, Error) \ V(ERR_STRING_TOO_LONG, Error) \ |
