errors_def.go
4.13 KB
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
package common
import (
"errors"
)
var (
ErrorsNotFoundPlayerInMysql = errors.New("not found uid in mysql")
ErrorsShortOfMoney = errors.New("short of money")
)
type ErrorType int
const (
Error_OK = 1
Error_Version_Not_Lastest ErrorType = 2
Error_Player_Not_Found ErrorType = 3
Error_Check_Token_Failed ErrorType = 4
Error_Load_Player_Token_Failed ErrorType = 5
Error_Invalid_Action_Enum ErrorType = 50
Error_CreateRoom_Privilege_Not_Enough ErrorType = 74 // 不是俱乐部管理员,不能创建
Error_CreateRoom_Level_Not_Enough ErrorType = 75 // 俱乐部等级不够开启更多房间
Error_CreateRoom_Other ErrorType = 76 // 其他错误
Error_CreateClub_failure ErrorType = 117
Error_Too_Many_Club_To_CreateClub ErrorType = 118
Error_CreateClub_Params_Invalid ErrorType = 119
Error_CreateClub_Type_Authoried_Failed ErrorType = 120
Error_ClubID_Not_Found ErrorType = 121
Error_Only_Creater_Can_Delete_Club ErrorType = 122
Error_Club_FULL ErrorType = 123
Error_Already_In_Club ErrorType = 124
Error_Already_Apply_Club ErrorType = 125 //已经申请
Error_Player_Not_In_Club ErrorType = 126
Error_Club_Fund_Not_Empty ErrorType = 127
Error_Club_Member_Not_Empty ErrorType = 128
Error_Club_Admin_Full ErrorType = 129 //俱乐部管理员已满
Error_Member_Diamond_Not_Enough ErrorType = 130
Error_Club_Level_Invalid ErrorType = 131
Error_GetClubLevel_Price_Failed ErrorType = 132
Error_PurchaseClubLevel_Failed ErrorType = 133
Error_Club_Fund_Not_Enough ErrorType = 134
Error_Club_Privilege_Not_Enough ErrorType = 135
Error_Club_Other ErrorType = 136
Error_Club_Name_Already_Exist ErrorType = 137
Error_OtherAdmin_Already_Operated ErrorType = 138
Error_OperateDB_Failed ErrorType = 139
Error_Set_JackpotInfo_Failed ErrorType = 140
Error_Set_JackpotAwardType_Failed ErrorType = 141
Error_Get_JackpotInfo_Failed ErrorType = 142
Error_Get_JackpotClubInfo_Failed ErrorType = 143
Error_Get_JackpotAwardType_Failed ErrorType = 144
Error_Get_ClubOpenedJackpots_Failed ErrorType = 145
Error_InjectJackpotAmount_Failed ErrorType = 146
Error_Get_JackpotAward_Failed ErrorType = 147
Error_Get_ClubFund_Failed ErrorType = 148
Error_Too_Many_Alliance_To_CreateAlliance ErrorType = 149
Error_Alliance_Name_Already_Exist ErrorType = 150
Error_CreateAlliance_failure ErrorType = 151
Error_Alliance_Member_Not_Empty ErrorType = 152
Error_Alliance_Not_Found ErrorType = 153
Error_Alliance_Privilege_Not_Enough ErrorType = 154
Error_club_Not_In_Alliance ErrorType = 155
Error_AllianceID_Not_Found ErrorType = 156
Error_Already_In_Alliance ErrorType = 157
Error_Already_Apply_Alliance ErrorType = 158 //已经申请联盟
Error_Alliance_FULL ErrorType = 159
Error_AllianceOtherAdmin_Already_Operated ErrorType = 160
Error_Alliance_Other ErrorType = 161
Error_JSON_Failed ErrorType = 162
Error_DataBase_Failed ErrorType = 163
Error_Too_Many_Alliance_To_Join ErrorType = 164
Error_Set_Award2ClubPercent_Failed ErrorType = 165
Error_Get_Award2ClubPercent_Failed ErrorType = 166
Error_Board_IsRunning ErrorType = 167
Error_Jackpotsetting_while_BoardIsRunning ErrorType = 168
Error_DestroyClub_while_BoardIsRunning ErrorType = 169
Error_IsAlliance_Creater ErrorType = 170
Error_ClubNumber_Not_Enough ErrorType = 171
Error_UserGold_Not_Enough ErrorType = 172
Error_REDIS_Failed ErrorType = 173 //取得玩家系统邮件时间戳失败
Error_GetUserMailList_Failed ErrorType = 174 //取得玩家邮件列表失败
Error_MailIndex_Not_Legal ErrorType = 175 //请求索引不合法
)