• Articles
  • API Documentation
Search Results for

    Show / Hide Table of Contents
    • VpnSDK
      • AccountMetadataException
      • APIException
      • ApiTimeoutException
      • AuthenticationException
      • BaseSDKException
      • ConnectionAlreadyEstablishedException
      • ConnectionConfigurationBuilderBase
      • ConnectionException
      • ConnectionTerminatedException
      • CoreException
      • DataTransferEventArgs
      • DnsConfigurationException
      • DoubleHopException
      • DoubleHopNotAvailableException
      • EmptyAvailableVpnProtocolsException
      • EndpointsUnreachableException
      • FetchLocationsException
      • HTTPException
      • InvalidAccountException
      • InvalidConfigurationException
      • InvalidDoubleHopConfigurationException
      • InvalidServerException
      • NotAuthorizedException
      • NotElevatedException
      • NullLocationException
      • OAuthException
      • OpenVpnConnectionConfigurationBuilder
      • RasConnectionConfigurationBuilder
      • ReconnectOnPowerEventException
      • SDKBuilder<T>
      • SDKChangeEventHandler<T>
      • SDKEventHandler
      • SDKEventHandler<T>
      • SDKOperationEventHandler
      • SDKOperationEventHandler<T>
      • ServerListException
      • TapAdapterException
      • UnknownErrorException
      • UnsupportedProtocolException
      • VPNAuthenticationException
      • VpnException
      • VpnHostServiceException
      • VpnHostServiceFileNotFoundException
      • WFPException
      • WireGuardAPIException
      • WireGuardConnectionConfigurationBuilder
    • VpnSDK.Common.Dns
      • DnsResolutionResult
      • IDnsRequestResolver
    • VpnSDK.Common.Enums
      • SplitTunnelMode
    • VpnSDK.Common.Settings
      • SplitTunnelApp
      • SplitTunnelDomain
    • VpnSDK.DTO
      • ApiHttpError
      • ApiProxyError
      • ConnectionError
      • ISDKError
      • NetworkGeolocation
      • OpenVpnConfiguration
      • RasConfiguration
      • WireguardConfiguration
    • VpnSDK.Enums
      • AccountStatus
      • AuthenticationStatus
      • ConnectionStatus
      • DnsFilteringMode
      • DriverInstallResult
      • DriverUninstallResult
      • ErrorType
      • LoadLevel
      • NetworkConnectionType
      • NetworkProtocolType
      • OpenVpnCipherType
      • OpenVpnLogLevel
      • OperationStatus
      • RefreshLocationListStatus
    • VpnSDK.Extensions
      • ExceptionExtensions
      • LocationExtensions
      • RegionLoadChecker
    • VpnSDK.Helpers
      • BatchPingUtility
      • VersionHelper
      • VpnProtocolDiagnostics
    • VpnSDK.Interfaces
      • IBestAvailable
      • IConnectionConfiguration
      • IConnectionInfo
      • IDoubleHopConfiguration
      • ILocation
      • IOpenVpnConnectionConfiguration
      • IRasConnectionConfiguration
      • IRegion
      • ISDK
      • IUser
      • IWireGuardConnectionConfiguration

    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.

    In This Article
    Back to top VpnSDK v2 Documentation - © 2023 WLVPN