PlanError

@available(*, deprecated, renamed: "TomTomSDKRoutingCommon.RoutingError", message: "This API is deprecated and will be removed with the next major release.")
public enum PlanError : Error

Defines the error cases that can occur while planning a trip.

  • Occurs when the route plan has been cancelled.

    Declaration

    Swift

    case requestCancelled
  • Occurs when map access has not been granted.

    Declaration

    Swift

    case mapInaccessible
  • General error.

    Declaration

    Swift

    case internalError