Structure

CLError

A Core Location error.

Declaration

struct CLError

Topics

Error Codes

static var deferredAccuracyTooLow: CLError.Code

A constant indicating that deferred mode is not supported for the requested accuracy.

static var deferredCanceled: CLError.Code

A constant indicating that the request for deferred updates was cancelled by your app or by the location manager.

static var deferredDistanceFiltered: CLError.Code

A constant indicating that deferred mode does not support distance filters.

static var deferredFailed: CLError.Code

A constant indicating that the location manager did not enter deferred mode for an unknown reason.

static var deferredNotUpdatingLocation: CLError.Code

A constant indicating that the location manager did not enter deferred mode because location updates were already disabled or paused.

static var denied: CLError.Code

A constant indicating that access to the location service was denied by the user.

static var geocodeCanceled: CLError.Code

A constant indicating that the geocode request was canceled.

static var geocodeFoundNoResult: CLError.Code

A constant indicating that the geocode request yielded no result.

static var geocodeFoundPartialResult: CLError.Code

A constant indicating that the geocode request yielded a partial result.

static var headingFailure: CLError.Code

A constant indicating that the heading could not be determined.

static var locationUnknown: CLError.Code

A constant indicating that the location manager was unable to obtain a location value right now.

static var network: CLError.Code

A constant indicating that the network was unavailable or a network error occurred.

static var rangingFailure: CLError.Code

A constant indicating that a general ranging error occurred.

static var rangingUnavailable: CLError.Code

A constant indicating that ranging is disabled.

static var regionMonitoringDenied: CLError.Code

A constant indicating that access to the region monitoring service was denied by the user.

static var regionMonitoringFailure: CLError.Code

A constant indicating that a registered region cannot be monitored.

static var regionMonitoringResponseDelayed: CLError.Code

A constant indicating that Core Location will deliver events but they may be delayed.

static var regionMonitoringSetupDelayed: CLError.Code

A constant indicating that Core Location could not initialize the region monitoring feature immediately.

Operator Functions

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

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

See Also

Errors

enum CLError.Code

Error codes returned by the location manager object.

let kCLErrorUserInfoAlternateRegionKey: String

A key in the user information dictionary of an error relating to a delayed region monitoring response.

let kCLErrorDomain: String

The domain for Core Location errors.