|
@@ -7,11 +7,26 @@ namespace ET
|
|
|
// 1-11004 是SocketError请看SocketError定义
|
|
|
//-----------------------------------
|
|
|
// 100000-109999是Core层的错误
|
|
|
-
|
|
|
+
|
|
|
// 110000以下的错误请看ErrorCore.cs
|
|
|
-
|
|
|
+
|
|
|
// 这里配置逻辑层的错误码
|
|
|
// 110000 - 200000是抛异常的错误
|
|
|
// 200001以上不抛异常
|
|
|
+
|
|
|
+ /** 登陆错误 **/
|
|
|
+ public const int ERR_LoginError = 200002;
|
|
|
+ /** 重复请求 **/
|
|
|
+ public const int ERR_RequestRepeatedly = 200003;
|
|
|
+ /** 请输入用户名和密码 **/
|
|
|
+ public const int ERR_UserNameOrPasswordIsNull = 200004;
|
|
|
+ /** 用户名或密码格式错误 **/
|
|
|
+ public const int ERR_UserNameOrPasswordFormatError = 200005;
|
|
|
+ /** 用户名或密码错误 **/
|
|
|
+ public const int ERR_UserNameOrPasswordError = 200006;
|
|
|
+ /** 已被永久封禁 **/
|
|
|
+ public const int ERR_UserPermanentBan = 200007;
|
|
|
+ /** 已被限时封禁 **/
|
|
|
+ public const int ERR_UserBanTime = 200008;
|
|
|
}
|
|
|
-}
|
|
|
+}
|