浏览代码

匹配失败错误码

wfz 3 年之前
父节点
当前提交
3e5f52217d
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      errors/chat.go

+ 1 - 0
errors/chat.go

@@ -13,4 +13,5 @@ var (
 	ErrorMatchingFail           = codes.Error(40008, "匹配失败")
 	ErrorIsGetAward             = codes.Error(40009, "已经获取过奖励")
 	ErrorChatRecordNotExist     = codes.Error(40010, "聊天记录不存在")
+	ErrorRandomMatchingFail     = codes.Error(40011, "随机匹配失败")
 )