BASELINE NowYouCanUse.com
Limited Availability

Serializable errors

The DOMException, Error, EvalError, RangeError, ReferenceError, SyntaxError, TypeError, and URIError objects are serializable. You can call structuredClone() on an error object or pass it to a worker using postMessage().
Baseline Status: This feature is currently Limited (not yet Baseline). Latest engine implementation shipped on Jul 26, 2022.
Desktop Browser Engine Support
Google Chrome
77
Supported
Mozilla Firefox
103
Supported
Apple Safari
—
Unsupported
Microsoft Edge
79
Supported
Mobile Browser Engine Support
Chrome Android
77
Firefox Android
103
Safari iOS
—
Specifications and References
id: serializable-errors