DOMException.name

The name read-only property of the DOMException interface returns a DOMString that contains one of the strings associated with an error name.

Syntax

var domExceptionName = domExceptionInstance.name;

Value

A DOMString.

Specifications

Specification Status Comment
Web IDL
The definition of 'name' in that specification.
Candidate Recommendation  

Browser Compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support Yes Yes1 ? ? ?
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support Yes Yes Yes4 ? ? ?

Document Tags and Contributors

Contributors to this page: fscholz, chrisdavidmills
Last updated by: fscholz,