Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DOMError object

Describes errors that occur during Document Object Model (DOM) operations.

Internet Explorer 10


DOM Information

Inheritance Hierarchy

The DOMError does not inherit from any class or interface.


The DOMError object has these types of members:


The DOMError object has these methods.

toString (DOMError)

Returns the name property of a DOMError and any associated message defined with the error.



The DOMError object has these properties.

PropertyAccess typeDescription

name (DOMError, DOMException)


Returns a DOMString value an error that occurred during a DOM operation.



While similar to DOMException objects, DOMError objects represent errors that are generated through other means, such as return values. (DOMException objects are thrown as exceptions.) Both objects return similar values, so it is possible to create general handlers to respond to either type of error.

See also

DOM Error Codes



© 2015 Microsoft