A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://webplatform.github.io/docs/dom/DOMError/name below:

name ยท WebPlatform Docs

name Summary

Returns the name of an error that occurred during a DOM operation.

Property of dom/DOMErrordom/DOMError

Syntax

Note: This property is read-only.

var errorName = error.name;
Return Value

Returns an object of type StringString

The name associated with an error.

Examples
function getErrorName(e) {
//retrieve name text for DOMError
var errorName = e.name;
return errorName;
}
Attributions

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