forked from EddieDemon/BNSharp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ErrorType.cs
43 lines (42 loc) · 1.62 KB
/
ErrorType.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
using System;
using System.Collections.Generic;
using System.Text;
namespace BNSharp
{
/// <summary>
/// Indicates the causes of errors that are provided through BN#.
/// </summary>
public enum ErrorType
{
/// <summary>
/// No error occurred.
/// </summary>
None = 0,
/// <summary>
/// No additional error cause is available.
/// </summary>
General = 1,
/// <summary>
/// Indicates that the server was unable to provide evidence that it is really the server to which the client is connected. Connection
/// will continue, but you may be connecting to an illegitimate server, or someone may be attempting to impersonate your client.
/// </summary>
Warcraft3ServerValidationFailure,
/// <summary>
/// Indicates that the designated Warden module failed to initialize.
/// </summary>
WardenModuleFailure,
/// <summary>
/// Indicates that Battle.net requested an account upgrade, but this functionality is not available in BN#.
/// </summary>
AccountUpgradeUnsupported,
/// <summary>
/// Indicates that the client provided an invalid username or password.
/// </summary>
InvalidUsernameOrPassword,
/// <summary>
/// Indicates that the server was unable to provide evidence that it knew the client password. Connection will continue,
/// but you may be connecting to an illegitimate server, or someone may be attempting to impersonate your client.
/// </summary>
LoginServerProofFailed,
}
}