This version of the documentation is outdated!
Click here for the latest released version.
PositionError
A PositionError object is returned to the geolocationError callback when an error occurs.
Properties
- code: One of the predefined error codes listed below.
- message: Error message describing the details of the error encountered.
Constants
PositionError.PERMISSION_DENIEDPositionError.POSITION_UNAVAILABLEPositionError.TIMEOUT
Description
The PositionError object is returned to the user through the [geolocationError](../parameters/geolocationError.html) callback function when an error occurs with geolocation.