Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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



Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.