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:
authorAnna Henningsen <anna@addaleax.net>2020-03-07 08:12:08 +0300
committerAnna Henningsen <anna@addaleax.net>2020-03-13 19:34:43 +0300
commit605615e5f33df41a307a0921f451b6dabb89410c (patch)
treeac85c4e55ad401eeb5ea23f8f4218e46b474e81d /src/node_errors.h
parent417d847de2b5e7d1eec96f099f6e20593e1a97b8 (diff)
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.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/node_errors.h b/src/node_errors.h
index 960cb725323..0c4dcf63e7e 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) \