Przeglądaj źródła

feat(types): error code

qinlaiqiao 4 lat temu
rodzic
commit
baeba3e06a
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      types/src/interface/error.ts

+ 2 - 0
types/src/interface/error.ts

@@ -41,6 +41,8 @@ export enum ErrNo {
   HAS_NO_ENTERPRISE = 1022,
   // token 校验失败
   TOKEN_ERROR = 1023,
+  // 用户 ID 不存在
+  USER_ID_NOT_EXIST = 1024,
 
   /* 费用定额相关 2001 - 2999 */
   COMPILATION_NOT_FOUND = 2001,