<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.15.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "NetworkExtension",
  "identifier" : "/documentation/NetworkExtension/NEDNSProxyManagerError",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Network Extension"
    ],
    "preciseIdentifier" : "c:@E@NEDNSProxyManagerError"
  },
  "title" : "NEDNSProxyManagerError"
}
-->

# NEDNSProxyManagerError

The possible DNS proxy manager errors.

```
enum NEDNSProxyManagerError
```

## Overview

These errors appear as the parameter in the completion handler of the methods that you use to manage DNS proxy configuration: [`loadFromPreferences(completionHandler:)`](/documentation/NetworkExtension/NEDNSProxyManager/loadFromPreferences(completionHandler:)), [`removeFromPreferences(completionHandler:)`](/documentation/NetworkExtension/NEDNSProxyManager/removeFromPreferences(completionHandler:)), and [`saveToPreferences(completionHandler:)`](/documentation/NetworkExtension/NEDNSProxyManager/saveToPreferences(completionHandler:)).

## Topics

### Enumeration Cases

[`NEDNSProxyManagerErrorConfigurationInvalid`](/documentation/NetworkExtension/NEDNSProxyManagerError/configurationInvalid)

Invalid DNS proxy configuration that cannot be stored.

[`NEDNSProxyManagerErrorConfigurationDisabled`](/documentation/NetworkExtension/NEDNSProxyManagerError/configurationDisabled)

Disabled DNS proxy configuration.

[`NEDNSProxyManagerErrorConfigurationStale`](/documentation/NetworkExtension/NEDNSProxyManagerError/configurationStale)

Outdated DNS proxy configuration that needs to be loaded.

[`NEDNSProxyManagerErrorConfigurationCannotBeRemoved`](/documentation/NetworkExtension/NEDNSProxyManagerError/configurationCannotBeRemoved)

Unremovable DNS proxy configuration.

## Relationships

### Conforms To

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

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

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

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

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

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

---

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)