Table of Contents

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 = 0

The diagnose found no issue.

[EnumMember(Value = "MaintenanceException")] Maintenance = 1

The server is under maintenance.

[EnumMember(Value = "SessionException")] Session = 2

The server ended or refused the session; the error's data carries the session's error code.

[EnumMember(Value = "AdException")] Ad = 3

An ad failed.

[EnumMember(Value = "ShowAdException")] ShowAd = 4

An ad could not be shown.

[EnumMember(Value = "ShowAdNoUiException")] ShowAdNoUi = 5

An ad needed the app's window in front and found none.

[EnumMember(Value = "LoadAdException")] LoadAd = 6

No ad could be loaded.

[EnumMember(Value = "NoInternetException")] NoInternet = 7

The device has no internet, or too slow a connection.

[EnumMember(Value = "NoStableVpnException")] NoStableVpn = 8

The VPN connected, but its connection was not stable.

[EnumMember(Value = "UnreachableServerException")] UnreachableServer = 9

The server could not be reached.

[EnumMember(Value = "UnreachableProxyServerException")] UnreachableProxyServer = 10

No proxy could reach the server.

[EnumMember(Value = "UnreachableServerLocationException")] UnreachableServerLocation = 11

No server of the chosen location could be reached.

[EnumMember(Value = "RewardNotEarnedException")] RewardNotEarned = 12

A rewarded ad's reward was not confirmed in time.

[EnumMember(Value = "VpnServiceNotReadyException")] VpnServiceNotReady = 13

The VPN service is not ready.

[EnumMember(Value = "VpnServiceUnreachableException")] VpnServiceUnreachable = 14

The VPN service could not be reached.

[EnumMember(Value = "VpnServiceTimeoutException")] VpnServiceTimeout = 15

The VPN service did not answer in time.

[EnumMember(Value = "UserCanceledException")] UserCanceled = 16

The person canceled, as by refusing the VPN's permission.

[EnumMember(Value = "ConnectionTimeoutException")] ConnectionTimeout = 17

The connection to the server timed out.

[EnumMember(Value = "EndPointDiscoveryException")] EndPointDiscovery = 18

The server's addresses could not be found.

[EnumMember(Value = "PremiumOnlyException")] PremiumOnly = 19

The feature is for premium only.

[EnumMember(Value = "AdBlockerException")] AdBlocker = 20

The device's settings point to an ad blocker, as a private DNS the app does not allow.

[EnumMember(Value = "RequestQuickLaunchException")] RequestQuickLaunch = 21

The system refused the Quick Launch at once.

[EnumMember(Value = "VpnServiceRevokedException")] VpnServiceRevoked = 22

The system took the VPN away from the app, as for another app's VPN.

[EnumMember(Value = "BillingException")] Billing = 23

A 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.