diff options
author | Anna Henningsen <anna@addaleax.net> | 2019-03-07 12:18:03 +0300 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2019-03-11 12:56:56 +0300 |
commit | a52aedeae08b57daedae56fd818be09df5f32e86 (patch) | |
tree | 60b9ea606dec5bb1fdeb64eb20fd4641bf560d74 /src/node_errors.h | |
parent | 6113ba96cb941775f20369924484046cd8e05089 (diff) |
worker: remove `ERR_CLOSED_MESSAGE_PORT`
This aligns `MessagePort`s more with the web API.
Refs: https://github.com/nodejs/node/issues/26463
PR-URL: https://github.com/nodejs/node/pull/26487
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'src/node_errors.h')
-rw-r--r-- | src/node_errors.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/node_errors.h b/src/node_errors.h index d37dd7106ba..835794b1782 100644 --- a/src/node_errors.h +++ b/src/node_errors.h @@ -42,7 +42,6 @@ void FatalException(v8::Isolate* isolate, V(ERR_BUFFER_OUT_OF_BOUNDS, RangeError) \ V(ERR_BUFFER_TOO_LARGE, Error) \ V(ERR_CANNOT_TRANSFER_OBJECT, TypeError) \ - V(ERR_CLOSED_MESSAGE_PORT, Error) \ V(ERR_CONSTRUCT_CALL_REQUIRED, Error) \ V(ERR_INVALID_ARG_VALUE, TypeError) \ V(ERR_INVALID_ARG_TYPE, TypeError) \ @@ -86,7 +85,6 @@ void FatalException(v8::Isolate* isolate, V(ERR_BUFFER_CONTEXT_NOT_AVAILABLE, \ "Buffer is not available for the current Context") \ V(ERR_CANNOT_TRANSFER_OBJECT, "Cannot transfer object of unsupported type")\ - V(ERR_CLOSED_MESSAGE_PORT, "Cannot send data on closed MessagePort") \ V(ERR_CONSTRUCT_CALL_REQUIRED, "Cannot call constructor without `new`") \ V(ERR_INVALID_TRANSFER_OBJECT, "Found invalid object in transferList") \ V(ERR_MEMORY_ALLOCATION_FAILED, "Failed to allocate memory") \ |