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
  • Error occurs when route contains invalid coordinates.

    Important

    This is a Public Preview API. It may be changed or removed at any time.

    Declaration

    Swift

    case invalidCoordinates
  • Descriptions of errors occurring in the route.

    Declaration

    Swift

    public var errorDescription: String { get }