PlanError

@available(*, deprecated, renamed: "TomTomSDKRoutingCommon.RoutingError", message: "This will be removed from future releases after 2026-07-15.")
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