mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
worker: rename error code to be more accurate
Rename `ERR_MISSING_MESSAGE_PORT_IN_TRANSFER_LIST` to `ERR_MISSING_TRANSFERABLE_IN_TRANSFER_LIST` in order to be more accurate. PR-URL: https://github.com/nodejs/node/pull/33872 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
This commit is contained in:
1 parent
8e12962401
commit
5ef5116311
5 files changed
+30
-12
No files matched your search
+2
-2
@@ -43,7 +43,7 @@ void OnFatalError(const char* location, const char* message);
|
||||
V(ERR_MEMORY_ALLOCATION_FAILED, Error) \
|
||||
V(ERR_MESSAGE_TARGET_CONTEXT_UNAVAILABLE, Error) \
|
||||
V(ERR_MISSING_ARGS, TypeError) \
|
||||
V(ERR_MISSING_MESSAGE_PORT_IN_TRANSFER_LIST, TypeError) \
|
||||
V(ERR_MISSING_TRANSFERABLE_IN_TRANSFER_LIST, TypeError) \
|
||||
V(ERR_MISSING_PASSPHRASE, TypeError) \
|
||||
V(ERR_MISSING_PLATFORM_FOR_WORKER, Error) \
|
||||
V(ERR_NON_CONTEXT_AWARE_DISABLED, Error) \
|
||||
@@ -98,7 +98,7 @@ void OnFatalError(const char* location, const char* message);
|
||||
V(ERR_MESSAGE_TARGET_CONTEXT_UNAVAILABLE, \
|
||||
"A message object could not be deserialized successfully in the target " \
|
||||
"vm.Context") \
|
||||
V(ERR_MISSING_MESSAGE_PORT_IN_TRANSFER_LIST, \
|
||||
V(ERR_MISSING_TRANSFERABLE_IN_TRANSFER_LIST, \
|
||||
"Object that needs transfer was found in message but not listed " \
|
||||
"in transferList") \
|
||||
V(ERR_MISSING_PLATFORM_FOR_WORKER, \
|
||||
|
||||
Reference in new issue
Block a user