Enables serialization of errors, specifically, DOMException, Error, EvalError, RangeError, ReferenceError, SyntaxError, TypeError, and URIError. An example of where this capability may be used is to pass an Error to a worker using PostMessage().
The primary motivation is Transferable Streams. For example, when we see a read error, we need to pass the error to the remote end.
Specification being incubated in a Community Group
Status in Chromium
Enabled by default
Consensus & Standardization
- No signal
- No signals
Last updated on 2021-12-13