<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "NetworkExtension",
  "identifier" : "/documentation/NetworkExtension/NEAppPushManagerError-swift.struct",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Network Extension"
    ],
    "preciseIdentifier" : "s:SC21NEAppPushManagerErrorLeV"
  },
  "title" : "NEAppPushManagerError"
}
-->

# NEAppPushManagerError

An error that the push manager encounters.

```
struct NEAppPushManagerError
```

## Topics

### Creating an error instance

### Inspecting error properties

[`enum Code`](/documentation/NetworkExtension/NEAppPushManagerError-swift.struct/Code)

Error codes that the local push API declares.

### Error constants

[`static var configurationInvalid: NEAppPushManagerError.Code`](/documentation/NetworkExtension/NEAppPushManagerError-swift.struct/configurationInvalid)

An error that indicates the app push configuration is invalid.

[`static var configurationNotLoaded: NEAppPushManagerError.Code`](/documentation/NetworkExtension/NEAppPushManagerError-swift.struct/configurationNotLoaded)

An error that indicates the manager hasn’t loaded the app push configuration.

[`static var inactiveSession: NEAppPushManagerError.Code`](/documentation/NetworkExtension/NEAppPushManagerError-swift.struct/inactiveSession)

An error that indicates an invalid attempt to perform an operation on an inactive session.

[`static var internalError: NEAppPushManagerError.Code`](/documentation/NetworkExtension/NEAppPushManagerError-swift.struct/internalError)

An error that indicates an internal error in the local push connectivity framework.

### Comparing errors

### Hashing

### Comparing error instances

### Type Properties

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

## Relationships

### Conforms To

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

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

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

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

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

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

---

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)