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
See also
- Using geolocation
- The
PositionError
interface it belongs to.