SensorErrorEvent
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
Secure context: This feature is available only insecure contexts (HTTPS), in some or allsupporting browsers.
TheSensorErrorEvent interface of theSensor APIs provides information about errors thrown by aSensor or derived interface.
In this article
Constructor
SensorErrorEvent()Creates a new
SensorErrorEventobject.
Instance properties
SensorErrorEvent.errorRead onlyReturns the
DOMExceptionobject passed in the event's constructor.
Specifications
| Specification |
|---|
| Generic Sensor API> # the-sensor-error-event-interface> |