RouteError

public enum RouteError : Int, LocalizedError

Enumeration of route errors.

Important

This is a Public Preview API. It may be changed or removed at any time.
  • Error occurs when route segments are empty.

    Declaration

    Swift

    case emptyRouteSegments
  • Error occurs when the number of coordinates does not exceed two in given segment.

    Declaration

    Swift

    case wrongCoordinatesCount
  • Error occurs when a data source is not set.

    Declaration

    Swift

    case dataSourceNotSet
  • Error occurs when there is a user-provided array of waypoints but no waypoint image.

    Declaration

    Swift

    case waypointImageNotSet

Public

  • Descriptions of errors occurring in the route.

    Declaration

    Swift

    public var errorDescription: String { get }