MDN self-hosted library · e01.org

SensorErrorEvent

Sensor API

no runnable cells web-api-interface upstream source

Sensor API

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

Constructor

  • SensorErrorEvent()
  • : Creates a new SensorErrorEvent object.

Instance properties

  • SensorErrorEvent.error
  • : Returns the DOMException object passed in the event's constructor.

Specifications

Browser compatibility