RouteError

public enum RouteError : LocalizedError

Enumeration of route errors.

  • 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 }