errorイベントは、エラーが発生したときに発生します。正確な状況は異なります。この名前のイベントは、さまざまなAPIから使用されます。

一般情報

Specification
DOM L3
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

プロパティ

Property Type Description
target 読取専用 EventTarget The event target (the topmost target in the DOM tree).
type 読取専用 DOMString The type of event.
bubbles 読取専用 Boolean Whether the event normally bubbles or not.
cancelable 読取専用 Boolean Whether the event is cancellable or not.
view 読取専用 WindowProxy document.defaultView (window of the document)
detail 読取専用 long (float) 0.

For MediaStream Recording events

These events are of type MediaRecorderErrorEvent.

Inherits properties from its parent interface, Event.

error Read only
A DOMException containing information about the error that occurred. Read only.

See also

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

ドキュメントのタグと貢献者

このページの貢献者: mfuji09, silverskyvicto
最終更新者: mfuji09,