{{APIRef("DOM")}}{{Obsolete_header}}
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
This interface neither implements, nor inherits, any property.
Methods
- {{domxref("DOMErrorHandler.handleError()")}}
- If returns
false
, DOM implementation should stop processing; if true, may continue depending on {{domxref("DOMError.severity")}}.
Specifications
Specification | Status | Comment |
---|---|---|
{{SpecName('DOM3 Core', 'core.html#ERROR-Interfaces-DOMErrorHandler', 'DOMErrorHandler')}} | {{Spec2('DOM3 Core')}} | Initial definition. |
Browser compatibility
{{CompatibilityTable}}
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari |
---|---|---|---|---|---|
Basic support | {{CompatUnknown}} | {{CompatNo}} | {{CompatUnknown}} | {{CompatUnknown}} | {{CompatVersionUnknown}} |
Feature | Android | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|
Basic support | {{CompatUnknown}} | {{CompatNo}} | {{CompatUnknown}} | {{CompatUnknown}} | {{CompatUnknown}} |