Error constants for the MapKit framework.


struct MKError


Error Codes

static var directionsNotFound: MKError.Code

Directions to the specified location are not available.

static var loadingThrottled: MKError.Code

The data was not loaded because data throttling is in effect.

static var placemarkNotFound: MKError.Code

The specified placemark could not be found.

static var serverFailure: MKError.Code

The map server was unable to return the desired information.

static var unknown: MKError.Code

An unknown error occurred.

Operator Functions

static func != (MKError, MKError) -> Bool

Returns a Boolean value indicating whether two values are not equal.

See Also


let MKErrorDomain: String

The error domain for MapKit.