Table of Contents

Enum SessionErrorCode

Namespace
VpnHood.Core.Common.Messaging
Assembly
VpnHood.Core.Common.dll

Specifies the outcome of a session's request, or why the session ended.

[JsonConverter(typeof(JsonStringEnumConverter<SessionErrorCode>))]
public enum SessionErrorCode

Fields

Ok = 0

The request succeeded.

AccessError = 1

The access was refused, as for a key or session the server does not know.

PlanRejected = 2

The plan the client asked for was refused.

GeneralError = 3

Another error.

SessionClosed = 4

The session was closed.

SessionSuppressedBy = 5

A newer session took the session's place, the same client's or another's over the access's limit of clients (SessionSuppressType).

SessionError = 6

The session failed.

SessionExpired = 7

The session's time ran out.

AccessExpired = 8

The access has expired.

AccessCodeRejected = 9

The premium code was refused.

AccessLocked = 10

The access is locked.

AccessTrafficOverflow = 11

The access has used all its traffic.

DailyLimitExceeded = 12

The access's daily limit is used up, as a premium trial's.

NoServerAvailable = 13

No server can take the session, as at the location asked for.

PremiumLocation = 14

No free server can take the session at the location asked for, though premium ones are there.

AdError = 15

The ad the session required failed.

RewardedAdRejected = 16

The rewarded ad was not accepted.

Maintenance = 17

The server is under maintenance.

RedirectHost = 18

The session is to be made on another server, which the response names.

UnsupportedClient = 19

The server does not support this client's version.

UnsupportedServer = 20

The client does not support this server's version; nothing raises it yet.

Remarks

In JSON it is a name.