geolocator_platform_interface
library
Exceptions / Errors
-
ActivityMissingException
-
An exception thrown when executing functionality which requires an Android
while no activity is provided.
-
AlreadySubscribedException
-
An exception thrown when subscribing to receive positions while another
subscription is already active.
-
InvalidPermissionException
-
An exception thrown when trying to convert a unknown permission into
the LocationPermission enum.
-
LocationServiceDisabledException
-
An exception thrown when trying to access the device's location
information while the location service on the device is disabled.
-
PermissionDefinitionsNotFoundException
-
An exception thrown when the required platform specific permission
definitions could not be found (e.g. in the AndroidManifest.xml file on
Android or in the Info.plist file on iOS).
-
PermissionDeniedException
-
An exception thrown when trying to access the device's location
information while access is denied.
-
PermissionRequestInProgressException
-
An exception thrown when requesting location permissions while an earlier
request has not yet been completed.
-
PositionUpdateException
-
An exception thrown when something went wrong while listening for position
updates.