ZendriveError
enum ZendriveError : int {}
ZendriveError
Discussion:
Error returned as code to NSError from Zendrive
public APIs in case of
failures.
-
SDK Key used in setup is invalid
Declaration
Objective-C
kZendriveErrorInvalidSDKKeyString = 0
-
Network not reachable, Zendrive.setup sometimes needs network call for authentication and to update SDK configuration to work. This error is returned whenever network is not available in these scenarios.
Declaration
Objective-C
kZendriveErrorNetworkUnreachable = 1
-
Zendrive SDK does not support the OS version of the device.
Declaration
Objective-C
kZendriveErrorUnsupportedOSVersion = 2
-
Zendrive SDK does not support the device type.
Declaration
Objective-C
kZendriveErrorDeviceUnsupported = 3
-
Invalid parameter was passed to the API.
Declaration
Objective-C
kZendriveErrorInvalidParams = 101
-
Internal error.
Declaration
Objective-C
kZendriveErrorInternalFailure = 102
-
ZendriveSDK is not setup. This error is also returned in case SDK setup has started but completion handler for setup is not called yet.
Declaration
Objective-C
kZendriveErrorNotSetup = 103
-
Insurance Period hasn’t changed from the previously active period, action ignored. This error may be returned from
startPeriod1
,startDriveWithPeriod2
,startDriveWithPeriod3
APIs ofZendriveInsurance
.Declaration
Objective-C
kZendriveErrorInsurancePeriodSame = 104
-
Invalid
trackingId
passed for new drive. This error may be returned fromstartDriveWithPeriod2
,startDriveWithPeriod3
APIs ofZendriveInsurance
.Declaration
Objective-C
kZendriveErrorInvalidTrackingId = 105
-
ZendriveSDK is not torn down. This error is returned if the requested operation cannot be completed while the SDK is running like the wipeout API.
Declaration
Objective-C
kZendriveErrorNotTornDown = 106
-
Some IO error occured while doing the operation. Refer to error description for more info.
Declaration
Objective-C
kZendriveErrorIOError = 107
-
Operation failed because
ZendriveRegion
provided was invalid.Declaration
Objective-C
kZendriveErrorInvalidRegion = 108
-
Operation Failed because provided
ZendriveRegion
is not supported for this application.Declaration
Objective-C
kZendriveErrorRegionUnsupported = 109
-
Changing region post setup is NOT allowed, until
+[Zendrive wipeOut:]
is called.Declaration
Objective-C
kZendriveErrorUnauthorizedRegionSwitch = 110
-
User is not authorized to use this application.
Declaration
Objective-C
kZendriveErrorUserDeprovisioned = 111
-
Operation failed because the set vehicle type feature is disabled in the config.
Declaration
Objective-C
kZendriveErrorUnsupportedVehicleType = 112
-
Failed to register beacon due to invalid UUID string.
Declaration
Objective-C
kZendriveErrorInvalidBeaconUUID = 113
-
Failed to remove beacon as beacon was not found.
Declaration
Objective-C
kZendriveErrorBeaconNotFound = 114
-
Cannot add more than 2 beacons.
Declaration
Objective-C
kZendriveErrorMaxBeaconsLimitReached = 115
-
pausedTillTimestamp parameter passed to the
+[Zendrive pauseAutoTracking:error:]
API must be in futureDeclaration
Objective-C
kZendriveErrorExpiredPausedTillTimestamp = 116
-
refresh business hours API call timeout
Declaration
Objective-C
kZendriveErrorRefreshBusinessHoursTimeout = 117
-
Network is not available when refresh business hours API is invoked
Declaration
Objective-C
kZendriveErrorRefreshBusinessHoursNetworkNotAvailable = 118
-
Network is not available when refresh business hours API is invoked
Declaration
Objective-C
kZendriveErrorRefreshBusinessHoursNotEnabled = 119