Join MDN and developers like you at Mozilla's View Source conference, 12-14 September in Berlin, Germany. Learn more at https://viewsourceconf.org

DOMErrorHandler Redirect 1

NOTE: This is not implemented in Mozilla. For DOMException, see DOMException.

Set as "error-handler" parameter in DOMConfiguration.setParameter . Implementation may provide a default handler. DOMError.relatedData will contain closest node to where error occurred or contain the Document node if it is unable to be determined. Document mutations from within the error handler result in implementation-dependent behavior. If there are to be multiple errors, the sequence and numbers of the errors passed to the error handler are also implementation dependent. The application using the DOM implementation implements this interface:

Properties

none

Methods

handleError ( DOMError ) - If returns false, DOM implementation should stop processing; if true, may continue depending on DOMError.severity

Specification

Document Tags and Contributors

 Contributors to this page: Sheppy
 Last updated by: Sheppy,