IsochroneError
public enum IsochroneError : LocalizedError
An error that occurs when calculating isochrone contours.
-
There is no network connection available to perform the network request.
Declaration
Swift
case network(URLError) -
The server returned a response that isn’t correctly formatted.
Declaration
Swift
case invalidResponse(URLResponse?) -
The server returned an empty response.
Declaration
Swift
case noData -
A specified location could not be associated with a roadway or pathway.
Make sure the locations are close enough to a roadway or pathway.
Declaration
Swift
case unableToLocate -
Unrecognized profile identifier.
Make sure the
IsochroneOptions.profileIdentifieroption is set to one of the predefined values, such asIsochroneProfileIdentifier.automobile.Declaration
Swift
case profileNotFound -
The API recieved input that it didn’t understand.
Declaration
Swift
case invalidInput(message: String?) -
Too many requests have been made with the same access token within a certain period of time.
Wait before retrying.
Declaration
Swift
case rateLimited(rateLimitInterval: TimeInterval?, rateLimit: UInt?, resetTime: Date?) -
Unknown error case. Look at associated values for more details.
Declaration
Swift
case unknown(response: URLResponse?, underlying: Error?, code: String?, message: String?)
Install in Dash
IsochroneError Enumeration Reference