The following APIs include an error event. Click the link for the API whose version of error you're looking for.

The error event is fired when an error has occurred; the exact circumstances vary since events by this name are used from a variety of APIs.

General info

Specification Document Object Model (DOM) Level 3 Events Specification
Interface UIEvent if generated by a user interface element, MediaRecorderErrorEvent if generated by the MediaStream Recording API, and Event otherwise.
Bubbles No
Cancelable No
Target Element
Default Action None

See also

Events sent to Window.onerror and Element.onerror
Events sent to HTMLMediaElement, including <audio> and <video>
Events sent to MediaRecorder.onerror, of type MediaRecorderErrorEvent