| [ Web Proxy ] |
| Viewing: https://developer.mozilla.org/ru/docs/Web/API/GeolocationPositionError | [Back] [Original] |
Get to know MDN better
This page was translated from English by the community. Learn more and join the MDN Web Docs community.
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 , .
PositionError .
PositionError.code Secure contextunsigned short, . :
1 |
PERMISSION_DENIED |
, . |
2 |
POSITION_UNAVAILABLE |
, . |
3 |
TIMEOUT |
, , PositionOptions.timeout . |
PositionError.message Secure contextReturns 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.
The PositionError interface neither implements nor inherits any method.
| Specification |
|---|
| Geolocation # position_error_interface |
Geolocation interface that use it.This page was last modified on 27 . 2026 . by MDN contributors.
PositionErrorYour blueprint for a better internet.
Portions of this content are 19982026 by individual mozilla.org contributors. Content available under a Creative Commons license.
| Web Proxy Viewer | New URL | Original Page |