Error.isError()
Limited availability
The Error.isError() static method checks whether a value is an Error object.
Browser support
- Chrome 134 Released on 2025-03-04
- Chrome Android 134 Released on 2025-03-04
- Edge 134 Released on 2025-03-06
- Firefox 138 Released on 2025-04-29
- Firefox for Android 138 Released on 2025-04-29
- Safari Not supported
- Safari on iOS Not supported
Baseline availability blocked since April 2025 by Safari (15 months)
Need this feature?
Leave a 👍 on the feedback issue
Don't forget to also leave a comment explaining your specific use case.
MDN documentation
Specifications
- ECMAScript® 2027 Language Specification (#sec-error.iserror), from TC39 (Ecma International).
Usage (according to Chrome Platform Status)
~1.627% of page loads. More data at chromestatus.com.View as JSON | Edit this feature | Report an issue | Web-features entry: source, dist