Packages

trait PositionError extends Object

The PositionError interface represents the reason of an error occuring when using the geolocating device.

MDN

Annotations
@JSType() @native()
Linear Supertypes
Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PositionError
  2. Object
  3. Any
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def code: Int

    Returns an unsigned short representing the error code.

    Returns an unsigned short representing the error code. The following values are possible: Value Associated constant Description 1 PERMISSION_DENIED The acquisition of the geolocation information failed because the page didn't had the permission to do it. 2 POSITION_UNAVAILABLE The acquisition of the geolocation failed because one or several internal source of position returned an internal error. 3 TIMEOUT The time allowed to acquire the geolocation, defined by PositionOptions.timeout information was reached before the information was obtained.

    MDN

  2. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  3. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  4. def message: String

    The PositionError.message read-only property returns a human-readable DOMString describing the details of the error.

    The PositionError.message read-only property returns a human-readable DOMString describing the details of the error.

    MDN

  5. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  6. def toLocaleString(): String
    Definition Classes
    Object
  7. def valueOf(): Any
    Definition Classes
    Object