This page is Ready to Use

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

DOMException

Summary

Represents a DOM operation exception.

Properties

message
Retrieves a string describing the exception that occurred.

Methods

No methods.

Events

No events.

Usage

 DOM operations only raise exceptions in "exceptional" circumstances, when an operation is impossible to perform (e.g., for logical reasons, because data is lost, or because the implementation has become unstable). In general, DOM methods return specific error values in ordinary processing situations

Related specifications

DOM Level 3 Core
Recommendation

See also

Related pages

Attributions