Enumeration Case

NEVPNError.Code.configurationInvalid

An error code indicating the VPN configuration associated with the VPN manager object is invalid.

Declaration

case configurationInvalid = 1

Discussion

This error can occur in the following situations:

  • The app or extension tried to save the configuration, but the configuration has missing or invalid configuration properties.

  • The app or extension tried to use the configuration before being successfully saved to the Network Extension preferences.

  • The app or extension tried to use the configuration before being successfully loaded from the Network Extension preferences.

See Also

Error Codes

case configurationDisabled

An error code indicating the VPN configuration associated with the VPN manager isn’t enabled.

case connectionFailed

The connection to the VPN server failed.

case configurationStale

An error code that indicates another process modfied the VPN configuration since the last time the app loaded the configuration.

case configurationReadWriteFailed

An error code that indicates an error occurred while reading or writing the Network Extension preferences.

case configurationUnknown

An error code that indicates that unspecified error occurred.