Represents a DOM operation error object.
- Returns the message associated with an error that occurred during a DOM operation.
- Returns the name of 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.
Microsoft Developer Network: [Windows Internet Explorer API reference Article]