This page is Ready to Use

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

message

Summary

The error text of the current PositionError, describing the details of the error encountered. This attribute is primarily intended for debugging and developers should not use it directly in their application user interface.

Property of apis/geolocation/PositionErrorapis/geolocation/PositionError

Syntax

Note: This property is read-only.

var result = PositionError.message;

Return Value

Returns an object of type StringString

Examples

alert(PositionError.message);

Related specifications

W3C Geolocation Specification
W3C Editor’s Draft

Attributions