PositionError.message

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

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

Syntax

msg = positionError.message

Specifications

Specification Status Comment
Geolocation API
The definition of 'PositionError.message' in that specification.
Recommendation Initial definition

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support5 Yes3.59165
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support518 Yes416 Yes ?

See also

Document Tags and Contributors

Last updated by: fscholz,