Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DOMException object

Describes errors thrown by Document Object Model (DOM) operations.

Document Object Model (DOM) Level 3 Core Specification, Section 1.4

Members

The DOMException object has these types of members:

Properties

The DOMException object has these properties.

PropertyAccess typeDescription

code

Sets or retrieves a number indicating the type of exception that occurred.

message

Retrieves a string that describes the error that occurred.

name (DOMError, DOMException)

Read-only

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

 

Standards information

See also

DOM Exception Error Codes

 

 

Show:
© 2014 Microsoft