[ Web Proxy ]
URL:
Viewing: https://developer.mozilla.org/ru/docs/Web/API/GeolocationPositionError [Back]  [Original]

PositionError - API | MDN

This page was translated from English by the community. Learn more and join the MDN Web Docs community.

View in English Always switch to English

PositionError

Baseline Widely available

This feature is well established and works across many devices and browser versions. Its been available across browsers since 2020 ..

Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.

PositionError , .

In this article

PositionError .

PositionError.code Secure context

unsigned short, . :

1 PERMISSION_DENIED , .
2 POSITION_UNAVAILABLE , .
3 TIMEOUT , , PositionOptions.timeout .
PositionError.message Secure context

Returns a human-readable String describing the details of the error. Specifications note that this is primarily intended for debugging use and not to be shown directly in a user interface.

Methods

The PositionError interface neither implements nor inherits any method.

Specification
Geolocation
# position_error_interface


Web Proxy Viewer  |  New URL  |  Original Page