exceptions/location_exceptions library
Exceptions / Errors
- LocationAlreadyInitializedException
- Thrown when attempting to initialize the plugin multiple times.
- LocationConfigurationException
- Thrown when invalid configuration is provided.
- LocationDisposedException
- Thrown when an operation is attempted after disposal.
- LocationException
- Base exception for all live location plugin errors.
- LocationInitializationException
- Thrown when plugin initialization fails.
- LocationNotInitializedException
- Thrown when an operation is attempted before initialization.
- LocationPermissionException
- Thrown when required location permission is not granted.
- LocationPlatformException
- Thrown when platform channel communication fails.
- LocationPlatformNotSupportedException
- Thrown when an unsupported operation is requested on the current platform.
- LocationServiceDisabledException
- Thrown when location services are not available or disabled on the device.