AI-generated Key Takeaways
-
This page documents the
GMTDVehicleReporterErrorCodeenum, which defines error codes used by theGMTDVehicleReporter. -
The
generalerror code, represented by the value 1, signifies a general error within theGMTDVehicleReporter. -
The
noActiveTripserror code, represented by the value 2, indicates that there are no active trips being tracked. -
The
activeTripsFetchFailederror code, represented by the value 3, is used when fetching active trips has failed. -
Error codes
locationTrackingNotEnabled(4) andnoLastKnownLocation(5) respectively indicate that location tracking is disabled and there is no known last location.
GMTDVehicleReporterErrorCode
enum GMTDVehicleReporterErrorCode : NSInteger {}The error codes for GMTDVehicleReporter.
-
Declaration
Swift
case general = 1Objective-C
GMTDVehicleReporterErrorGeneral = 1 -
Declaration
Swift
case noActiveTrips = 2Objective-C
GMTDVehicleReporterErrorNoActiveTrips -
Declaration
Swift
case activeTripsFetchFailed = 3Objective-C
GMTDVehicleReporterErrorActiveTripsFetchFailed -
Declaration
Swift
case locationTrackingNotEnabled = 4Objective-C
GMTDVehicleReporterErrorLocationTrackingNotEnabled -
Declaration
Swift
case noLastKnownLocation = 5Objective-C
GMTDVehicleReporterErrorNoLastKnownLocation