WebIDLpedia

SensorErrorEvent interface

Definition

Generic Sensor API defines SensorErrorEvent



[SecureContext, Exposed=(DedicatedWorker, Window)]
interface SensorErrorEvent : Event {
  constructor(DOMString type, SensorErrorEventInit errorEventInitDict);
  readonly attribute DOMException error;
};

Methods and attributes that return objects implementing SensorErrorEvent