Results 1 - 2 of 2

DOMException()

The DOMException() constructor returns a DOMException object with a specified message and name.
API Constructor DOMException Reference

DOMException

The DOMException interface represents an abnormal event (called an exception) which occurs as a result of calling a method or accessing a property of a web API. This is basically how error conditions are described in web APIs.
API DOM DOMException Error Error code Exception Reference