Returns the name of an error that occurred during a DOM operation.
Property of dom/DOMErrordom/DOMError
SyntaxNote: This property is read-only.
var errorName = error.name;
Return Value
Returns an object of type StringString
The name associated with an error.
Examplesfunction getErrorName(e) {
//retrieve name text for DOMError
var errorName = e.name;
return errorName;
}
Attributions
Microsoft Developer Network: [Windows Internet Explorer API reference Article]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4