• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Name

DOMException

Properties

code

An error code that provides some detail about what caused the exception. Some possible values (and their meanings) for this property are defined by the constants listed below.

Constants

The following constants define the code values that may be encountered by when working with HTML documents. Note that these constants are static properties of DOMException, not properties of individual exception objects.

DOMException.INDEX_SIZE_ERR = 1

Out-of-bounds error for an array or string index.

DOMException.HIERARCHY_REQUEST_ERR = 3

An attempt was made to place a node somewhere illegal in the document tree hierarchy.

DOMException.WRONG_DOCUMENT_ERR = 4

PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint