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 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.
Constructor
SensorErrorEvent()-
Creates a new
SensorErrorEventobject.
Instance properties
SensorErrorEvent.errorRead only-
Returns the
DOMExceptionobject passed in the event's constructor.
Specifications
| Specification |
|---|
| Generic Sensor API # the-sensor-error-event-interface |
Browser compatibility
| desktop | mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
SensorErrorEvent
|
|
|
|
|
|
|
|
|
|
|
|
|
SensorErrorEvent() constructor
|
|
|
|
|
|
|
|
|
|
|
|
|
error
|
|
|
|
|
|
|
|
|
|
|
|
|
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- No support
- No support
- See implementation notes.