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