Enumeration

NEVPNError

No overview available.

Declaration

typedef enum NEVPNError : NSInteger {
    ...
} NEVPNError;

Topics

Enumeration Cases

NEVPNErrorConfigurationDisabled

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

NEVPNErrorConfigurationInvalid

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.

NEVPNErrorConfigurationReadWriteFailed

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

NEVPNErrorConfigurationStale

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.

NEVPNErrorConfigurationUnknown

An unspecified error occurred.

NEVPNErrorConnectionFailed

The connection to the VPN server failed.

See Also