SensorErrorEvent

Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.

The SensorErrorEvent interface of the Sensor APIs provides information about errors thrown by a Sensor or derived interface.

EventSensorErrorEvent

Constructor

SensorErrorEvent()

Creates a new SensorErrorEvent object.

Instance properties

SensorErrorEvent.error Read only

Returns the DOMException object passed in the event's constructor.

Specifications