TypedMessenger needs a hook for error serialization. #485
Labels
effort: Moderate
Will take a good amount of time and experience with the codebase, but feasible.
Milestone
Browsers currently don't support serializing Aggregate errors for instance, see whatwg/html#5749.
Also when a worker throws custom errors such as
class MyError extends Error
, these are not serialized either. This doesn't allow the main thread tocatch
it and check its type usinginstanceof
.The text was updated successfully, but these errors were encountered: