DOMException.message

The message read-only property of the DOMException interface returns a DOMString representing a message or description associated with the given error name.

Syntax

var domExceptionMessage = domExceptionInstance.message;

Value

A DOMString.

Specifications

Specification Status Comment
Web IDL
The definition of 'message' 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,