errcode

package
v0.0.23 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 2, 2024 License: MIT Imports: 0 Imported by: 1

Documentation

Index

Constants

View Source
const (
	Succeed                   = 0    // 成功
	Config_error              = 1    // 配置错误
	Item_no_enough            = 2    // 道具不足
	Player_offline            = 3    // 玩家不在线
	No_authority              = 4    // 权限不足
	Goldon_not_enough         = 5    // 金豆不足
	Diamond_not_enough        = 6    // 钻石不足
	Coin_not_enough           = 7    // 魔方不足
	Request_param_error       = 8    // 请求参数错误
	Award_received            = 9    // 奖励已领取
	Invalid_login_message     = 11   // 注册信息格式错误
	Invalid_auth_api          = 12   // 注册接口请求失败
	No_bind                   = 13   // 网关服务器绑定失败
	No_dispatch               = 14   // 游戏服务器绑定失败
	Invalid_geteuserinfo_api  = 15   // 获取用户信息接口失败
	No_deliver                = 16   // 转发到游戏服务器失败
	Invalid_json_message      = 17   // json信息格式非法
	Leaderboard_max           = 18   // 排行榜已经到达底部
	Invalid_pb_message        = 20   // proto消息格式非法
	Multiple_accounts_kickoff = 21   // 账号多地登录踢用户下线
	Game_server_down_kickoff  = 22   // 游戏服务器下线踢用户下线
	Backward_client_version   = 25   // 客户端版本落后
	Advanced_client_version   = 26   // 客户端版本超前
	Ban_accounts_kickoff      = 27   // 账号违禁踢用户下线
	Emoj_not_equipped         = 31   // 表情未装备
	Animtion_not_equipped     = 32   // 动作未装备
	Match_user_no_enough      = 33   // 参赛人数不足
	Dungeon_not_exists        = 34   // 副本不存在
	Unable_answer_questions   = 35   // 周期内不能重复答题
	Bad_request               = 400  // 请求失败
	Unauthorized              = 401  // 未验证
	Forbidden                 = 403  // 被禁止
	Not_found                 = 404  // 未找到
	Internal_server_error     = 500  // 服务器内部错误
	Mongo_op_error            = 501  // mongo操作错误
	Redis_op_error            = 502  // redis操作错误
	Team_exists               = 2001 // 已经进入房间
	Team_max                  = 2002 // 房间已满
	Not_in_team               = 2003 // 玩家不在房间中
	Team_no_exists            = 2004 // 房间不存在
	Team_transfer_error       = 2005 // 队长不止转移给自己
	Team_no_match             = 2006 // 不在匹配中
	In_team                   = 2007 // 在房间中
	Applied_to_join           = 2008 // 已经申请进入房间
	Matching                  = 2009 // 已在匹配中
	Team_match_timeout        = 2010 // 匹配超时
	Target_has_team           = 2011 // 对方已有房间
	Team_dungeon_not_agree    = 2012 // 进副本有人不同意
	Team_no_exam              = 2013 // 试卷Id未找到房间
	Over_limit_time           = 4001 // 超过限购时间
	Over_limit_num            = 4002 // 超过限购数量
	Progress_failed           = 5001 // 进度未达成
	Mail_no_exists            = 6001 // 邮件不存在
	Mail_cant_remove          = 6002 // 邮件无法移除
	Mail_has_rewarded         = 6003 // 邮件奖励已领取

)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL