The SensorErrorEvent interface of the Sensor APIs provides information
errors thrown by a web.sensors.Sensor
or related interface.
The SensorErrorEvent interface of the Sensor APIs provides information errors thrown by a `web.sensors.Sensor` or related interface.
(constructor & args)
Constructor.
The SensorErrorEvent constructor creates a new web.sensors.SensorErrorEvent
object which provides information about errors thrown by any of the interfaces based on web.sensors.Sensor
.
type Will always be 'SensorErrorEvent'. options Optional Currently only one option is supported:
error: An instance of web.DOMException
.
See also: https://developer.mozilla.org/en-US/docs/Web/API/SensorErrorEvent/SensorErrorEvent
Constructor. The SensorErrorEvent constructor creates a new `web.sensors.SensorErrorEvent` object which provides information about errors thrown by any of the interfaces based on `web.sensors.Sensor`. type Will always be 'SensorErrorEvent'. options Optional Currently only one option is supported: error: An instance of `web.DOMException`. See also: `https://developer.mozilla.org/en-US/docs/Web/API/SensorErrorEvent/SensorErrorEvent`
(error this)
Property.
[Read Only]
The error read-only property of the web.sensors.SensorErrorEvent
returns the web.DOMException
object passed in the event's contructor.
var domException = sensorErrorEvent.error;
See also: https://developer.mozilla.org/en-US/docs/Web/API/SensorErrorEvent/error
Property. [Read Only] The error read-only property of the `web.sensors.SensorErrorEvent` returns the `web.DOMException` object passed in the event's contructor. `var domException = sensorErrorEvent.error;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/SensorErrorEvent/error`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close