The SensorErrorEvent interface of the Sensor APIs provides information about errors thrown by a Sensor or related interface.
Constructor
SensorErrorEvent.SensorErrorEvent()- Creates a new
SensorErrorEventobject.
Properties
SensorErrorEvent.errorRead only- Returns the
DOMExceptionobject passed in the event's contructor.
Specifications
| Specification | Status | Comment |
|---|---|---|
| Generic Sensor API The definition of 'SensorErrorEvent' in that specification. |
Candidate Recommendation | Initial definition. |
Browser compatibility
The compatibility table in this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
Update compatibility data on GitHub
| Desktop | Mobile | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Basic support | Chrome Full support 69 | Edge ? | Firefox ? | IE ? | Opera Full support 56 | Safari ? | WebView Android Full support 69 | Chrome Android Full support 69 | Edge Mobile ? | Firefox Android ? | Opera Android Full support 56 | Safari iOS ? | Samsung Internet Android ? |
SensorErrorEvent() constructor | Chrome Full support 69 | Edge ? | Firefox ? | IE ? | Opera Full support 56 | Safari ? | WebView Android Full support 69 | Chrome Android Full support 69 | Edge Mobile ? | Firefox Android ? | Opera Android Full support 56 | Safari iOS ? | Samsung Internet Android ? |
error | Chrome Full support 69 | Edge ? | Firefox ? | IE ? | Opera Full support 56 | Safari ? | WebView Android Full support 69 | Chrome Android Full support 69 | Edge Mobile ? | Firefox Android ? | Opera Android Full support 56 | Safari iOS ? | Samsung Internet Android ? |
Legend
- Full support
- Full support
- Compatibility unknown
- Compatibility unknown