Web/API/DOMException/name

From Get docs
< Web/API‎ | DOMException
Revision as of 03:34, 25 December 2020 by Notes (talk | contribs) (autoload)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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 IDLThe definition of 'name' in that specification. Candidate Recommendation

Browser compatibility

Update compatibility data on GitHub

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari Android webview Chrome for Android Firefox for Android Opera for Android Safari on iOS Samsung Internet
name Chrome

Full support Yes

Edge

Full support 12

Firefox

Full support 1

IE

Full support Yes

Opera

Full support Yes

Safari

Full support Yes

WebView Android

Full support Yes

Chrome Android

Full support Yes

Firefox Android

Full support 4

Opera Android

Full support Yes

Safari iOS

Full support Yes

Samsung Internet Android

Full support Yes

Legend

Full support  
Full support