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

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software