Skip to content

Commit 2f02df7

Browse files
committed
docs(worker): a messageerror carries the deserialization failure
1 parent 2a01611 commit 2f02df7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎test-app/runtime/src/main/cpp/WorkerEvents.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class WorkerEvents {
3030
* Builds a MessageEvent out of `message` and dispatches it on `receiver` -
3131
* the Worker object for worker-to-parent traffic, the global scope's
3232
* EventTarget for parent-to-worker. A message that cannot be read arrives
33-
* as a `messageerror` event carrying nothing. A handler that throws leaves
33+
* as a `messageerror` event instead. A handler that throws leaves
3434
* the exception pending for the caller's TryCatch, which owns the worker's
3535
* error chain. No-op before Init has run.
3636
*/

0 commit comments

Comments
 (0)