<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreLocation",
  "identifier" : "/documentation/CoreLocation/CLLocationPushServiceError-swift.struct",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Core Location"
    ],
    "preciseIdentifier" : "s:SC26CLLocationPushServiceErrorLeV"
  },
  "title" : "CLLocationPushServiceError"
}
-->

# CLLocationPushServiceError

Error codes the location manager returns if starting to monitor for location push notifications fails.

```
struct CLLocationPushServiceError
```

## Topics

### Getting the error code

[`static var unknown: CLLocationPushServiceError.Code`](/documentation/CoreLocation/CLLocationPushServiceError-swift.struct/unknown)

An error code that indicates the app was unable to start the location push service for an unknown reason.

[`static var missingPushExtension: CLLocationPushServiceError.Code`](/documentation/CoreLocation/CLLocationPushServiceError-swift.struct/missingPushExtension)

An error code that indicates the app is missing a Location Push Service Extension.

[`static var missingPushServerEnvironment: CLLocationPushServiceError.Code`](/documentation/CoreLocation/CLLocationPushServiceError-swift.struct/missingPushServerEnvironment)

An error code that indicates the app is missing an Apple Push Notification service (APNs) environment entitlement.

[`static var missingEntitlement: CLLocationPushServiceError.Code`](/documentation/CoreLocation/CLLocationPushServiceError-swift.struct/missingEntitlement)

An error code that indicates the app is missing the entitlement it needs to use the location push service.

[`static var unsupportedPlatform: CLLocationPushServiceError.Code`](/documentation/CoreLocation/CLLocationPushServiceError-swift.struct/unsupportedPlatform)

An error code that indicates the location push service isn’t available on this platform.

[`enum Code`](/documentation/CoreLocation/CLLocationPushServiceError-swift.struct/Code)

Error codes the location manager returns if starting to monitor for location push notifications fails.

### Getting the error details

### Comparing errors

### Type Properties

[`static var errorDomain: String`](/documentation/CoreLocation/CLLocationPushServiceError-swift.struct/errorDomain)

## Relationships

### Conforms To

[`Error`](/documentation/Swift/Error)

[`Sendable`](/documentation/Swift/Sendable)

[`CustomNSError`](/documentation/Foundation/CustomNSError)

[`Equatable`](/documentation/Swift/Equatable)

[`Hashable`](/documentation/Swift/Hashable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)