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:
authorGuy Bedford <guybedford@gmail.com>2020-02-03 14:31:12 +0300
committerGuy Bedford <guybedford@gmail.com>2020-02-18 14:34:40 +0300
commit58de9b46b80fd3e48f5faf9db8101930a6493fc4 (patch)
tree07024c417fa7e77066dd644318b27aa55bc1f28a /src/node_errors.h
parentaf19f4116c5c3ce0fc7b18b62ffb05e8138bf74b (diff)
module: package "exports" error refinements
PR-URL: https://github.com/nodejs/node/pull/31625 Reviewed-By: Jan Krems <jan.krems@gmail.com>
Diffstat (limited to 'src/node_errors.h')
-rw-r--r--src/node_errors.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/node_errors.h b/src/node_errors.h
index d56bf7ef5a5..a05ce8f6bfb 100644
--- a/src/node_errors.h
+++ b/src/node_errors.h
@@ -43,7 +43,8 @@ void OnFatalError(const char* location, const char* message);
V(ERR_OSSL_EVP_INVALID_DIGEST, Error) \
V(ERR_INVALID_ARG_TYPE, TypeError) \
V(ERR_INVALID_MODULE_SPECIFIER, TypeError) \
- V(ERR_INVALID_PACKAGE_CONFIG, SyntaxError) \
+ 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,6 +54,7 @@ void OnFatalError(const char* location, const char* message);
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) \