SensorErrorEvent

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

Event SensorErrorEvent

Constructor

SensorErrorEvent()

Creates a new SensorErrorEvent object.

Properties

SensorErrorEvent.error Read only

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

Specifications

Specification
Generic Sensor API
# the-sensor-error-event-interface

Browser compatibility

BCD tables only load in the browser