Enum ErrorType
Enum ErrorType. Represents the different types of errors that the SDK can return for localization purposes.
Namespace: VpnSDK.Enums
Assembly: cs.temp.dll.dll
Syntax
public enum ErrorType
Fields
| Name | Description |
|---|---|
| AccountMetadataError | Failed when account metadata is incorrect. |
| AllApiEndpointsUnreachable | All API endpoints unreachable |
| ApiAuthenticationError | An authentication request fails due to invalid credentials or Bad Request. |
| ApiError | Authentication request failed due to API issues. |
| ApiFetchLocationsError | Failed to refresh locations list. |
| ApiNotAuthorizedError | User is not logged in. |
| ApiOAuthError | Failed to refresh access token. |
| ApiTimeout | API timeout. |
| CoreInvalidConfiguration | VpnSDK is not configured correctly. |
| CoreNoAvailableProtocols | There's no VPN protocols available on this system. |
| CoreNotElevated | The running process is not elevated. |
| DnsConfigurationError | Failed when the DNS is not configured correctly |
| DoublehopNotAvailable | Failed when Doublehop is not available. |
| InvalidAccountError | Failed when account is invalid. |
| InvalidDoubleHopConfiguration | Failed when configuration for double hop is invalid. |
| InvalidServerError | Failed when server is invalid. |
| None | No error. |
| ReconnectOnPowerEventException | Failed to reconnect after power event. |
| ServerListError | Failed to get Server List. |
| ServerUnhealthy | Failed when server is unhealthy. |
| TAPAdapterError | TAP Adapter is not installed or not working correctly. |
| Unknown | Unknown error type. |
| VpnAlreadyConnected | VPN connection is already established. |
| VpnAuthenticationError | Failed to authenticate the current user against the selected VPN server. User's credentials are expired? |
| VpnConnectionError | VPN connection raised an exception, connection was closed. Happens during connection process. |
| VpnConnectionUnexpectedlyDisconnected | VPN connection disconnected unexpectedly. |
| VpnHostServiceFileNotFound | Failed when VpnHostService file is not found. |
| VpnLocationIsNull | A null location is provided to an SDK method. |
| VpnUnsupportedProtocolError | Failed to create a connection using VPN protocol that is not supported. |
| WireGuardApiError | Failed to get WireGuard configuration due to API issues. |