MQNavigationErrorCode

enum MQNavigationErrorCode {}

Error codes provided by MQNavigation

  • Navigation Failed to start due to Location Manager Authorization Status

    Declaration

    Objective-C

    MQNavigationErrorCodeDeniedLocationAuthorization

    Swift

    case deniedLocationAuthorization = 0
  • Internal error occurred

    Declaration

    Objective-C

    MQNavigationErrorCodeInternalError

    Swift

    case internalError = 1
  • There are no more destinations for Navigation to route to

    Declaration

    Objective-C

    MQNavigationErrorCodeDestinationsEmpty

    Swift

    case destinationsEmpty = 2
  • Your Application Key is invalid

    Declaration

    Objective-C

    MQNavigationErrorCodeApplicationKeyInvalid = 1000

    Swift

    case applicationKeyInvalid = 1000
  • Navigation received an error from the server

    Declaration

    Objective-C

    MQNavigationErrorCodeServerError

    Swift

    case serverError = 1001
  • Navigation tried to access servers but received a result that looked like a captive portal

    Declaration

    Objective-C

    MQNavigationErrorCodeServerAccessDeniedWithCaptivePortal

    Swift

    case serverAccessDeniedWithCaptivePortal = 1002
  • Error contains the JSON received and the NSURLError

    Declaration

    Objective-C

    MQNavigationErrorCodeNSURLError

    Swift

    case nsurlError = 1003
  • Too many failures. For example if we have too many network errors in a row.

    Declaration

    Objective-C

    MQNavigationErrorCodeTooManyFailures

    Swift

    case tooManyFailures = 1004
  • Requested language is not a valid language

    Declaration

    Objective-C

    MQNavigationErrorCodeInvalidLanguage

    Swift

    case invalidLanguage = 1005
  • A reroute request failed due to returning no available routes

    Declaration

    Objective-C

    MQNavigationErrorCodeRerouteFailedWithNoRoutes

    Swift

    case rerouteFailedWithNoRoutes = 1006
  • Consent to track location was not set to either Granted nor Denied

    Declaration

    Objective-C

    MQNavigationErrorCodeUserLocationTrackingConsentNotSet

    Swift

    case userLocationTrackingConsentNotSet = 1007
  • This is an informational error. Our Route is invalid and we need to refresh it. The SDK will refresh the route automatically.

    Declaration

    Objective-C

    MQNavigationErrorCodeRouteIsBeingRefreshed

    Swift

    case routeIsBeingRefreshed = 1008
  • A route summary request failed due to returning no available routes

    Declaration

    Objective-C

    MQNavigationErrorCodeRouteSummaryFailedWithNoRoutes

    Swift

    case routeSummaryFailedWithNoRoutes = 1009