DirectionsError
public enum DirectionsError : LocalizedErrorextension DirectionsError: EquatableAn error that occurs when calculating directions.
- 
                  
                  There is no network connection available to perform the network request. DeclarationSwift case network(URLError)
- 
                  
                  The server returned an empty response. DeclarationSwift case noData
- 
                  
                  The API recieved input that it didn’t understand. DeclarationSwift case invalidInput(message: String?)
- 
                  
                  The server returned a response that isn’t correctly formatted. DeclarationSwift case invalidResponse(URLResponse?)
- 
                  
                  No route could be found between the specified locations. Make sure it is possible to travel between the locations with the mode of transportation implied by the profileIdentifier option. For example, it is impossible to travel by car from one continent to another without either a land bridge or a ferry connection. DeclarationSwift case unableToRoute
- 
                  
                  The specified coordinates could not be matched to the road network. Try again making sure that your tracepoints lie in close proximity to a road or path. DeclarationSwift case noMatches
- 
                  
                  The request specifies too many coordinates. Try again with fewer coordinates. DeclarationSwift case tooManyCoordinates
- 
                  
                  A specified location could not be associated with a roadway or pathway. Make sure the locations are close enough to a roadway or pathway. Try setting the Waypoint.coordinateAccuracyproperty of all the waypoints tonil.DeclarationSwift case unableToLocate
- 
                  
                  Unrecognized profile identifier. Make sure the DirectionsOptions.profileIdentifieroption is set to one of the predefined values, such asDirectionsProfileIdentifier.automobile.DeclarationSwift case profileNotFound
- 
                  
                  The request is too large. Try specifying fewer waypoints or giving the waypoints shorter names. DeclarationSwift case requestTooLarge
- 
                  
                  Too many requests have been made with the same access token within a certain period of time. Wait before retrying. DeclarationSwift case rateLimited(rateLimitInterval: TimeInterval?, rateLimit: UInt?, resetTime: Date?)
- 
                  
                  Unknown error case. Look at associated values for more details. DeclarationSwift case unknown(response: URLResponse?, underlying: Error?, code: String?, message: String?)
- 
                  
                  DeclarationSwift public var failureReason: String? { get }
- 
                  
                  DeclarationSwift public var recoverySuggestion: String? { get }
- 
                  
                  DeclarationSwift public static func == (lhs: DirectionsError, rhs: DirectionsError) -> Bool
 Install in Dash
              Install in Dash
             DirectionsError Enumeration Reference
        DirectionsError Enumeration Reference