Enum ExceptionType
- Namespace
- VpnHood.AppLib.Api.Exceptions
- Assembly
- VpnHood.AppLib.Api.dll
Specifies an error the app's API names: each stands for the exception class whose name an API error carries.
[JsonConverter(typeof(JsonStringEnumConverter<ExceptionType>))]
public enum ExceptionType
Fields
[EnumMember(Value = "NoErrorFoundException")] NoErrorFound = 0The diagnose found no issue.
[EnumMember(Value = "MaintenanceException")] Maintenance = 1The server is under maintenance.
[EnumMember(Value = "SessionException")] Session = 2The server ended or refused the session; the error's data carries the session's error code.
[EnumMember(Value = "AdException")] Ad = 3An ad failed.
[EnumMember(Value = "ShowAdException")] ShowAd = 4An ad could not be shown.
[EnumMember(Value = "ShowAdNoUiException")] ShowAdNoUi = 5An ad needed the app's window in front and found none.
[EnumMember(Value = "LoadAdException")] LoadAd = 6No ad could be loaded.
[EnumMember(Value = "NoInternetException")] NoInternet = 7The device has no internet, or too slow a connection.
[EnumMember(Value = "NoStableVpnException")] NoStableVpn = 8The VPN connected, but its connection was not stable.
[EnumMember(Value = "UnreachableServerException")] UnreachableServer = 9The server could not be reached.
[EnumMember(Value = "UnreachableProxyServerException")] UnreachableProxyServer = 10No proxy could reach the server.
[EnumMember(Value = "UnreachableServerLocationException")] UnreachableServerLocation = 11No server of the chosen location could be reached.
[EnumMember(Value = "RewardNotEarnedException")] RewardNotEarned = 12A rewarded ad's reward was not confirmed in time.
[EnumMember(Value = "VpnServiceNotReadyException")] VpnServiceNotReady = 13The VPN service is not ready.
[EnumMember(Value = "VpnServiceUnreachableException")] VpnServiceUnreachable = 14The VPN service could not be reached.
[EnumMember(Value = "VpnServiceTimeoutException")] VpnServiceTimeout = 15The VPN service did not answer in time.
[EnumMember(Value = "UserCanceledException")] UserCanceled = 16The person canceled, as by refusing the VPN's permission.
[EnumMember(Value = "ConnectionTimeoutException")] ConnectionTimeout = 17The connection to the server timed out.
[EnumMember(Value = "EndPointDiscoveryException")] EndPointDiscovery = 18The server's addresses could not be found.
[EnumMember(Value = "PremiumOnlyException")] PremiumOnly = 19The feature is for premium only.
[EnumMember(Value = "AdBlockerException")] AdBlocker = 20The device's settings point to an ad blocker, as a private DNS the app does not allow.
[EnumMember(Value = "RequestQuickLaunchException")] RequestQuickLaunch = 21The system refused the Quick Launch at once.
[EnumMember(Value = "VpnServiceRevokedException")] VpnServiceRevoked = 22The system took the VPN away from the app, as for another app's VPN.
[EnumMember(Value = "BillingException")] Billing = 23A store failed; the error's data carries its billing error code.
Remarks
In JSON it is a name; a name this version does not know fails to read.