xybot/base/error.go
2025-04-17 14:59:55 +08:00

19 lines
432 B
Go
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package base
// 错误码对应的含义0表示正常
var codeMap = map[int]string{
-1: "参数错误",
-2: "其他错误",
-3: "序列化错误",
-4: "反序列化错误",
-5: "MMTLS初始化错误",
-6: "收到的数据包长度错误",
-7: "已退出登录",
-8: "链接过期",
-9: "解析数据包错误",
-10: "数据库错误",
-11: "登陆异常",
-12: "操作过于频繁",
-13: "上传失败",
}