DOMError
Summary
Represents a DOM operation error object.
Properties
- message
- Returns the message associated with an error that occurred during a DOM operation.
- name
- Returns the name of an error that occurred during a DOM operation.
Methods
No methods.
Events
No events.
Notes
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
Related pages
- DOMExceptionDOMException
- DOM Error CodesDOM Error Codes
Attributions
Microsoft Developer Network: [Windows Internet Explorer API reference Article]