OfflineRoutingError
public enum OfflineRoutingError : LocalizedError
An error that occurs when calculating directions potentially offline using the NavigationDirections.calculate(_:offline:completionHandler:) method.
-
A standard Directions API error occurred.
A Directions API error can occur whether directions are calculated online or offline.
Declaration
Swift
case standard(DirectionsError) -
The router returned an empty response.
Declaration
Swift
case noData -
The router returned a response that isn’t correctly formatted.
Declaration
Swift
case invalidResponse -
Declaration
Swift
public var failureReason: String? { get } -
Declaration
Swift
public var recoverySuggestion: String? { get }
Install in Dash
OfflineRoutingError Enumeration Reference