GoogleRidesharingDriver Framework Reference

  • This page documents the GMTDVehicleReporterErrorCode enum, which defines error codes used by the GMTDVehicleReporter.

  • The general error code, represented by the value 1, signifies a general error within the GMTDVehicleReporter.

  • The noActiveTrips error code, represented by the value 2, indicates that there are no active trips being tracked.

  • The activeTripsFetchFailed error code, represented by the value 3, is used when fetching active trips has failed.

  • Error codes locationTrackingNotEnabled (4) and noLastKnownLocation (5) respectively indicate that location tracking is disabled and there is no known last location.

GMTDVehicleReporterErrorCode

enum GMTDVehicleReporterErrorCode : NSInteger {}

The error codes for GMTDVehicleReporter.