Code

public enum Code

Routing error codes

  • Routing call ended with unknown error.

    Declaration

    Swift

    case unknown
  • An input parameter combination was invalid.

    Declaration

    Swift

    case badInput
  • No valid route could be found.

    Declaration

    Swift

    case noRouteFound
  • The service encountered an unexpected error while fulfilling the request

    Declaration

    Swift

    case internalError
  • The route reconstruction using supportingPoints failed.

    Declaration

    Swift

    case cannotRestoreBaseroute
  • The service is not ready to handle the request

    Declaration

    Swift

    case serviceUnavailable
  • Deserialization of routing response failed.

    Declaration

    Swift

    case deserialization
  • Routing network call failed.

    Declaration

    Swift

    case network
  • Indicates that the request reached an internal computation time threshold and timed out.

    Declaration

    Swift

    case computationTimeout
  • Indicates that the API key has no permission to access this resource.

    Declaration

    Swift

    case apiKeyError
  • One of the input points (Origin, Destination, Waypoints) could not be matched to the map because no drivable section near this point could be found.

    Declaration

    Swift

    case mapMatchingFailure
  • The request has been cancelled.

    Declaration

    Swift

    case cancelled