GeolocationPositionError.message

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

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

Syntax

let msg = geolocationPositionErrorInstance.message

Value

A human-readable DOMString describing the details of the error.

Specifications

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

Browser compatibility

No compatibility data found. Please contribute data for "api.GeolocationPositionError.message" (depth: 1) to the MDN compatibility data repository.

See also