Enumeration

NEVPNError.Code

No overview available.

Declaration

enum NEVPNError.Code : Int, _ErrorCodeProtocol

Topics

Enumeration Cases

case configurationInvalid

The VPN configuration associated with the NEVPNManager object is invalid. This error can occur when trying to save the configuration while the configuration has missing or invalid configuration properties, or when trying to use the configuration before it has been successfully saved to the Network Extension preferences or before it has been successfully loaded from the Network Extension preferences.

case configurationDisabled

The VPN configuration associated with the NEVPNManager is disabled. This error can occur when trying to start the VPN connection.

case connectionFailed

The connection to the VPN server failed.

case configurationStale

The VPN configuration associated with the NEVPNManager object was modified by some other process since the last time that it was loaded from the Network Extension preferences by the app. This error will also be returned if the app tries to save the VPN configuration before loading it from the Network Extension preferences the first time after the app launches.

case configurationReadWriteFailed

An error occurred while reading or writing the Network Extension preferences.

case configurationUnknown

An unspecified error occurred.