Parcourir la source

feat(types): error code

qinlaiqiao il y a 5 ans
Parent
commit
f560396940
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      types/src/interface/error.ts

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

@@ -35,6 +35,8 @@ export enum ErrNo {
   SMS_CODE_ILLEGAL = 1019,
   // 密码强度不够
   PASSWORD_ILLEGAL = 1020,
+  // 数据类型错误
+  DATA_TYPE_ERROR = 1021,
 
   /* 费用定额相关 2001 - 2999 */
   COMPILATION_NOT_FOUND = 2001,