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.

Members

The DOMError object has these types of members:

Methods

The DOMError object has these methods.

MethodDescription
toString (DOMError)

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

 

Properties

The DOMError object has these properties.

PropertyAccess typeDescription

name (DOMError, DOMException)

Read-only

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

 

Remarks

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

DOMException
DOM Error Codes

 

 

Show:
© 2014 Microsoft. All rights reserved.