<!--
{
  "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/Code",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Network Extension"
    ],
    "preciseIdentifier" : "c:@E@NEAppPushManagerError"
  },
  "title" : "NEAppPushManagerError.Code"
}
-->

# NEAppPushManagerError.Code

Error codes that the local push API declares.

```
enum Code
```

## Topics

### Error codes

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

An error code that indicates the app push configuration is invalid.

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

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

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

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

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

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

## Relationships

### Conforms To

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

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

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

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

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

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

---

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)