GeolocateServiceError
Summary
Constructor
aeris.geolocate.errors.GeolocateServiceError
Syntax
aeris.geolocate.errors.GeolocateServiceError
(
-
errorObj
Summary
Parameters:
-
errorObj
Object
Item Index
Methods
code
Syntax
code
()
Summary
Error code.
PERMISSION_DENIED
Syntax
PERMISSION_DENIED
()
Summary
Permission denied error code The user did not allow Geolocation.
POSITION_UNAVAILABLE
Syntax
POSITION_UNAVAILABLE
()
Summary
Position unavailable error code It is not possible to get the current location
setMessage
Syntax
Summary
Set the error message
Parameters:
-
message
StringMessage passed into constructor.
Returns:
String:
Error message.
TIMEOUT
Syntax
TIMEOUT
()
Summary
Timeout error code The geolocation operation timed out.