---
title: CLLocationPushServiceError
framework: corelocation
role: symbol
role_heading: Structure
path: corelocation/cllocationpushserviceerror-swift.struct
---

# CLLocationPushServiceError

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

## Declaration

```swift
struct CLLocationPushServiceError
```

## Topics

### Getting the error code

- [unknown](corelocation/cllocationpushserviceerror-swift.struct/unknown.md)
- [missingPushExtension](corelocation/cllocationpushserviceerror-swift.struct/missingpushextension.md)
- [missingPushServerEnvironment](corelocation/cllocationpushserviceerror-swift.struct/missingpushserverenvironment.md)
- [missingEntitlement](corelocation/cllocationpushserviceerror-swift.struct/missingentitlement.md)
- [unsupportedPlatform](corelocation/cllocationpushserviceerror-swift.struct/unsupportedplatform.md)
- [CLLocationPushServiceError.Code](corelocation/cllocationpushserviceerror-swift.struct/code.md)

### Type Properties

- [errorDomain](corelocation/cllocationpushserviceerror-swift.struct/errordomain.md)

## Relationships

### Conforms To

- [CustomNSError](foundation/customnserror.md)
- [Equatable](swift/equatable.md)
- [Error](swift/error.md)
- [Hashable](swift/hashable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Location push service extension

- [Location Push Service Extension](bundleresources/entitlements/com.apple.developer.location.push.md)
- [CLLocationPushServiceExtension](corelocation/cllocationpushserviceextension.md)
- [CLLocationPushServiceErrorDomain](corelocation/cllocationpushserviceerrordomain.md)
- [CLLocationPushServiceError.Code](corelocation/cllocationpushserviceerror-swift.struct/code.md)
