added geolocation error callback.