api_errtype/
list.rs

1macro_rules! const_errtype {
2    ($err_type_ident:ident, $err_type_method:ident, $chinese_desc:expr, $english_desc:expr, $explanation:expr) => {
3        #[doc = $explanation]
4        pub const $err_type_ident: api_response::error_code::ErrType =
5            api_response::error_code::ErrType::$err_type_method(if cfg!(feature = "chinese_description") {
6                $chinese_desc
7            } else {
8                $english_desc
9            });
10    };
11}
12
13const_errtype!(
14    ET_USER,
15    T1000,
16    "用户端错误",
17    "User Error",
18    "Primary macroscopic error code"
19);
20
21const_errtype!(
22    ET_USER_EQPT,
23    T1001,
24    "用户设备异常",
25    "User Equipment Error",
26    "Secondary macroscopic error code"
27);
28
29const_errtype!(
30    ET_USER_CAMERA,
31    T1002,
32    "用户相机异常",
33    "User Camera Error",
34    "Specific case under user equipment error"
35);
36
37const_errtype!(
38    ET_USER_MIC,
39    T1003,
40    "用户麦克风异常",
41    "User Microphone Error",
42    "Specific case under user equipment error"
43);
44
45const_errtype!(
46    ET_USER_EARPIECE,
47    T1004,
48    "用户听筒异常",
49    "User Earpiece Error",
50    "Specific case under user equipment error"
51);
52
53const_errtype!(
54    ET_USER_SPEAKER,
55    T1005,
56    "用户扬声器异常",
57    "User Speaker Error",
58    "Specific case under user equipment error"
59);
60
61const_errtype!(
62    ET_USER_GPS,
63    T1006,
64    "用户GPS定位异常",
65    "User GPS Error",
66    "Specific case under user equipment error"
67);
68
69const_errtype!(
70    ET_BIZ_SERV,
71    T2000,
72    "业务服务错误",
73    "Business Service Error",
74    "Primary macroscopic error code"
75);
76
77const_errtype!(
78    ET_USER_REG,
79    T2001,
80    "用户注册错误",
81    "User Registration Error",
82    "Secondary macroscopic error code"
83);
84
85const_errtype!(
86    ET_USER_PRIV_POLICY,
87    T2002,
88    "用户未同意隐私协议",
89    "User Did Not Agree To Privacy Policy",
90    "Specific case under user registration error"
91);
92
93const_errtype!(
94    ET_REG_RESTR,
95    T2003,
96    "注册国家或地区受限",
97    "Registration Country or Region Restricted",
98    "Specific case under user registration error"
99);
100
101const_errtype!(
102    ET_USERNAME_VERIF_FAIL,
103    T2004,
104    "用户名校验失败",
105    "Username Verification Failed",
106    "Specific case under user registration error"
107);
108
109const_errtype!(
110    ET_USERNAME_EXISTS,
111    T2005,
112    "用户名已存在",
113    "Username Already Exists",
114    "Specific case under user registration error"
115);
116
117const_errtype!(
118    ET_USERNAME_SENSITIVE_WD,
119    T2006,
120    "用户名包含敏感词",
121    "Username Contains Sensitive Words",
122    "Specific case under user registration error"
123);
124
125const_errtype!(
126    ET_USERNAME_SPEC_CHARS,
127    T2007,
128    "用户名包含特殊字符",
129    "Username Contains Special Characters",
130    "Specific case under user registration error"
131);
132
133const_errtype!(
134    ET_PWD_VERIF_FAIL,
135    T2008,
136    "密码校验失败",
137    "Password Verification Failed",
138    "Specific case under user registration error"
139);
140
141const_errtype!(
142    ET_PWD_TOO_SHORT,
143    T2009,
144    "密码长度不够",
145    "Password Too Short",
146    "Specific case under user registration error"
147);
148
149const_errtype!(
150    ET_PWD_STRENGTH_INSUFF,
151    T2010,
152    "密码强度不够",
153    "Password Strength Insufficient",
154    "Specific case under user registration error"
155);
156
157const_errtype!(
158    ET_VERIF_CODE,
159    T2011,
160    "校验码输入错误",
161    "Verification Code Error",
162    "Specific case under user registration error"
163);
164
165const_errtype!(
166    ET_SMS_VERIF_CODE,
167    T2012,
168    "短信校验码输入错误",
169    "SMS Verification Code Error",
170    "Specific case under verification code error"
171);
172
173const_errtype!(
174    ET_EMAIL_VERIF_CODE,
175    T2013,
176    "邮件校验码输入错误",
177    "Email Verification Code Error",
178    "Specific case under verification code error"
179);
180
181const_errtype!(
182    ET_VOICE_VERIF_CODE,
183    T2014,
184    "语音校验码输入错误",
185    "Voice Verification Code Error",
186    "Specific case under verification code error"
187);
188
189const_errtype!(
190    ET_USER_DOC,
191    T2015,
192    "用户证件异常",
193    "User Document Error",
194    "Specific case under user registration error"
195);
196
197const_errtype!(
198    ET_USER_DOC_TYPE_NOT_SEL,
199    T2016,
200    "用户证件类型未选择",
201    "User Document Type Not Selected",
202    "Specific case under user document error"
203);
204
205const_errtype!(
206    ET_MAINLAND_ID_VERIF_ILLEGAL,
207    T2017,
208    "大陆身份证编号校验非法",
209    "Mainland ID Number Verification Illegal",
210    "Specific case under user document error"
211);
212
213const_errtype!(
214    ET_PASSPORT_VERIF_ILLEGAL,
215    T2018,
216    "护照编号校验非法",
217    "Passport Number Verification Illegal",
218    "Specific case under user document error"
219);
220
221const_errtype!(
222    ET_OFFICER_ID_VERIF_ILLEGAL,
223    T2019,
224    "军官证编号校验非法",
225    "Officer ID Number Verification Illegal",
226    "Specific case under user document error"
227);
228
229const_errtype!(
230    ET_USER_BASIC_INFO_VERIF_FAIL,
231    T2020,
232    "用户基本信息校验失败",
233    "User Basic Information Verification Failed",
234    "Specific case under user registration error"
235);
236
237const_errtype!(
238    ET_PHONE_VERIF_FAIL,
239    T2021,
240    "手机格式校验失败",
241    "Phone Format Verification Failed",
242    "Specific case under user basic information verification failed"
243);
244
245const_errtype!(
246    ET_ADDR_VERIF_FAIL,
247    T2022,
248    "地址格式校验失败",
249    "Address Format Verification Failed",
250    "Specific case under user basic information verification failed"
251);
252
253const_errtype!(
254    ET_EMAIL_VERIF_FAIL,
255    T2023,
256    "邮箱格式校验失败",
257    "Email Format Verification Failed",
258    "Specific case under user basic information verification failed"
259);
260
261const_errtype!(
262    ET_USER_LOGIN,
263    T2024,
264    "用户登录异常",
265    "User Login Error",
266    "Secondary macroscopic error code"
267);
268
269const_errtype!(
270    ET_USER_ACCT_NOT_EXIST,
271    T2025,
272    "用户账户不存在",
273    "User Account Does Not Exist",
274    "Specific case under user login error"
275);
276
277const_errtype!(
278    ET_USER_ACCT_FROZEN,
279    T2026,
280    "用户账户被冻结",
281    "User Account Frozen",
282    "Specific case under user login error"
283);
284
285const_errtype!(
286    ET_USER_ACCT_INVLD,
287    T2027,
288    "用户账户已作废",
289    "User Account Invalidated",
290    "Specific case under user login error"
291);
292
293const_errtype!(
294    ET_USER_PWD,
295    T2028,
296    "用户密码错误",
297    "User Password Error",
298    "Specific case under user login error"
299);
300
301const_errtype!(
302    ET_USER_PWD_LIM_EXC,
303    T2029,
304    "用户输入密码错误次数超限",
305    "User Exceeded Password Error Limit",
306    "Specific case under user password error"
307);
308
309const_errtype!(
310    ET_USER_IDENT_VERIF_FAIL,
311    T2030,
312    "用户身份校验失败",
313    "User Identity Verification Failed",
314    "Specific case under user login error"
315);
316
317const_errtype!(
318    ET_USER_FP_VERIF_FAIL,
319    T2031,
320    "用户指纹识别失败",
321    "User Fingerprint Verification Failed",
322    "Specific case under user identity verification failed"
323);
324
325const_errtype!(
326    ET_USER_FACE_RECOG_FAIL,
327    T2032,
328    "用户面容识别失败",
329    "User Face Recognition Failed",
330    "Specific case under user identity verification failed"
331);
332
333const_errtype!(
334    ET_3P_LOGIN_AUTHZ_NOT_OBTAINED,
335    T2033,
336    "用户未获得第三方登录授权",
337    "User Did Not Obtain Third-Party Login Authorization",
338    "Specific case under user identity verification failed"
339);
340
341const_errtype!(
342    ET_USER_LOGIN_EXP,
343    T2034,
344    "用户登录已过期",
345    "User Login Expired",
346    "Specific case under user login error"
347);
348
349const_errtype!(
350    ET_USER_VERIF_CODE,
351    T2035,
352    "用户验证码错误",
353    "User Verification Code Error",
354    "Specific case under user login error"
355);
356
357const_errtype!(
358    ET_USER_VERIF_CODE_ATTEMPT_LIM_EXC,
359    T2036,
360    "用户验证码尝试次数超限",
361    "User Exceeded Verification Code Attempt Limit",
362    "Specific case under user verification code error"
363);
364
365const_errtype!(
366    ET_ACCESS_AUTHZ,
367    T2037,
368    "访问权限异常",
369    "Access Authorization Error",
370    "Secondary macroscopic error code"
371);
372
373const_errtype!(
374    ET_ACCESS_UNAUTHZED,
375    T2038,
376    "访问未授权",
377    "Access Unauthorized",
378    "Specific case under access authorization error"
379);
380
381const_errtype!(
382    ET_AUTHZ_IN_PROGRESS,
383    T2039,
384    "正在授权中",
385    "Authorization In Progress",
386    "Specific case under access authorization error"
387);
388
389const_errtype!(
390    ET_USER_AUTHZ_APP_REJECTED,
391    T2040,
392    "用户授权申请被拒绝",
393    "User Authorization Application Rejected",
394    "Specific case under access authorization error"
395);
396
397const_errtype!(
398    ET_ACCESS_BLOCKED_DUE_TO_PRIV_SET,
399    T2041,
400    "因访问对象隐私设置被拦截",
401    "Access Blocked Due To Privacy Settings",
402    "Specific case under access authorization error"
403);
404
405const_errtype!(
406    ET_AUTHZ_EXP,
407    T2042,
408    "授权已过期",
409    "Authorization Expired",
410    "Specific case under access authorization error"
411);
412
413const_errtype!(
414    ET_NO_PERM_TO_USE_API,
415    T2043,
416    "无权限使用API",
417    "No Permission To Use API",
418    "Specific case under access authorization error"
419);
420
421const_errtype!(
422    ET_USER_ACCESS_BLOCKED,
423    T2044,
424    "用户访问被拦截",
425    "User Access Blocked",
426    "Specific case under access authorization error"
427);
428
429const_errtype!(
430    ET_BLACKLISTED_USER,
431    T2045,
432    "黑名单用户",
433    "Blacklisted User",
434    "Specific case under user access blocked"
435);
436
437const_errtype!(
438    ET_ACCT_FROZEN,
439    T2046,
440    "账号被冻结",
441    "Account Frozen",
442    "Specific case under user access blocked"
443);
444
445const_errtype!(
446    ET_ILLEGAL_IP_ADDR,
447    T2047,
448    "非法IP地址",
449    "Illegal IP Address",
450    "Specific case under user access blocked"
451);
452
453const_errtype!(
454    ET_GW_ACCESS_RESTR,
455    T2048,
456    "网关访问受限",
457    "Gateway Access Restricted",
458    "Specific case under user access blocked"
459);
460
461const_errtype!(
462    ET_REGIONAL_BLACKLIST,
463    T2049,
464    "地域黑名单",
465    "Regional Blacklist",
466    "Specific case under user access blocked"
467);
468
469const_errtype!(
470    ET_SERV_OVERDUE,
471    T2050,
472    "服务已欠费",
473    "Service Overdue",
474    "Specific case under access authorization error"
475);
476
477const_errtype!(
478    ET_USER_SIGNATURE,
479    T2051,
480    "用户签名异常",
481    "User Signature Error",
482    "Specific case under access authorization error"
483);
484
485const_errtype!(
486    ET_RSA_SIGNATURE,
487    T2052,
488    "RSA签名错误",
489    "RSA Signature Error",
490    "Specific case under user signature error"
491);
492
493const_errtype!(
494    ET_USER_REQ_PARAM,
495    T2053,
496    "用户请求参数错误",
497    "User Request Parameter Error",
498    "Secondary macroscopic error code"
499);
500
501const_errtype!(
502    ET_ILLEGAL_MALICIOUS_LINK,
503    T2054,
504    "包含非法恶意跳转链接",
505    "Contains Illegal Malicious Redirect Link",
506    "Specific case under user request parameter error"
507);
508
509const_errtype!(
510    ET_INVALID_USER_INPUT,
511    T2055,
512    "无效的用户输入",
513    "Invalid User Input",
514    "Specific case under user request parameter error"
515);
516
517const_errtype!(
518    ET_REQ_PARAM_EMPTY,
519    T2056,
520    "请求必填参数为空",
521    "Request Required Parameter Is Empty",
522    "Specific case under user request parameter error"
523);
524
525const_errtype!(
526    ET_USER_ORDER_NUMBER_EMPTY,
527    T2057,
528    "用户订单号为空",
529    "User Order Number Is Empty",
530    "Specific case under request required parameter is empty"
531);
532
533const_errtype!(
534    ET_ORDER_QUANTITY_EMPTY,
535    T2058,
536    "订购数量为空",
537    "Order Quantity Is Empty",
538    "Specific case under request required parameter is empty"
539);
540
541const_errtype!(
542    ET_MISSING_TS_PARAM,
543    T2059,
544    "缺少时间戳参数",
545    "Missing Timestamp Parameter",
546    "Specific case under request required parameter is empty"
547);
548
549const_errtype!(
550    ET_ILLEGAL_TS_PARAM,
551    T2060,
552    "非法的时间戳参数",
553    "Illegal Timestamp Parameter",
554    "Specific case under request required parameter is empty"
555);
556
557const_errtype!(
558    ET_PARAM_VAL_EXCD_RANGE,
559    T2061,
560    "请求参数值超出允许的范围",
561    "Request Parameter Value Exceeds Allowed Range",
562    "Specific case under user request parameter error"
563);
564
565const_errtype!(
566    ET_PARAM_FMT_MISMATCH,
567    T2062,
568    "参数格式不匹配",
569    "Parameter Format Mismatch",
570    "Specific case under request parameter value exceeds allowed range"
571);
572
573const_errtype!(
574    ET_ADDR_OUT_OF_SERV,
575    T2063,
576    "地址不在服务范围",
577    "Address Out Of Service Range",
578    "Specific case under request parameter value exceeds allowed range"
579);
580
581const_errtype!(
582    ET_TIME_OUT_OF_SERV,
583    T2064,
584    "时间不在服务范围",
585    "Time Out Of Service Range",
586    "Specific case under request parameter value exceeds allowed range"
587);
588
589const_errtype!(
590    ET_AMOUNT_EXCD_LIM,
591    T2065,
592    "金额超出限制",
593    "Amount Exceeds Limit",
594    "Specific case under request parameter value exceeds allowed range"
595);
596
597const_errtype!(
598    ET_QUANTITY_EXCD_LIM,
599    T2066,
600    "数量超出限制",
601    "Quantity Exceeds Limit",
602    "Specific case under request parameter value exceeds allowed range"
603);
604
605const_errtype!(
606    ET_BATCH_TOTAL_EXCD_LIM,
607    T2067,
608    "请求批量处理总个数超出限制",
609    "Request Batch Total Exceeds Limit",
610    "Specific case under request parameter value exceeds allowed range"
611);
612
613const_errtype!(
614    ET_JSON_PARSING_FAIL,
615    T2068,
616    "请求JSON解析失败",
617    "Request JSON Parsing Failed",
618    "Specific case under user request parameter error"
619);
620
621const_errtype!(
622    ET_ILLEGAL_USER_INPUT,
623    T2069,
624    "用户输入内容非法",
625    "User Input Content Illegal",
626    "Specific case under user request parameter error"
627);
628
629const_errtype!(
630    ET_PROHIB_SENSITIVE_WD,
631    T2070,
632    "包含违禁敏感词",
633    "Contains Prohibited Sensitive Words",
634    "Specific case under user input content illegal"
635);
636
637const_errtype!(
638    ET_IMAGE_PROHIB_INFO,
639    T2071,
640    "图片包含违禁信息",
641    "Image Contains Prohibited Information",
642    "Specific case under user input content illegal"
643);
644
645const_errtype!(
646    ET_FILE_INFRINGES_COPYRIGHT,
647    T2072,
648    "文件侵犯版权",
649    "File Infringes Copyright",
650    "Specific case under user input content illegal"
651);
652
653const_errtype!(
654    ET_USER_OP_ANOMALY,
655    T2073,
656    "用户操作异常",
657    "User Operation Anomaly",
658    "Secondary macroscopic error code"
659);
660
661const_errtype!(
662    ET_USER_PAY_TIMEOUT,
663    T2074,
664    "用户支付超时",
665    "User Payment Timeout",
666    "Specific case under user operation anomaly"
667);
668
669const_errtype!(
670    ET_ORDER_CONFIRM_TIMEOUT,
671    T2075,
672    "确认订单超时",
673    "Order Confirmation Timeout",
674    "Specific case under user operation anomaly"
675);
676
677const_errtype!(
678    ET_ORDER_CLOSED,
679    T2076,
680    "订单已关闭",
681    "Order Closed",
682    "Specific case under user operation anomaly"
683);
684
685const_errtype!(
686    ET_USER_REQ_SERV_ANOMALY,
687    T2077,
688    "用户请求服务异常",
689    "User Request Service Anomaly",
690    "Secondary macroscopic error code"
691);
692
693const_errtype!(
694    ET_REQ_FREQUENCY_EXCD,
695    T2078,
696    "请求次数超出限制",
697    "Request Frequency Exceeded",
698    "Specific case under user request service anomaly"
699);
700
701const_errtype!(
702    ET_REQ_CONCURRENCY_EXCD,
703    T2079,
704    "请求并发数超出限制",
705    "Request Concurrency Exceeded",
706    "Specific case under user request service anomaly"
707);
708
709const_errtype!(
710    ET_USER_OP_WAIT,
711    T2080,
712    "用户操作请等待",
713    "User Operation Please Wait",
714    "Specific case under user request service anomaly"
715);
716
717const_errtype!(
718    ET_WEBSOCKET_ANOMALY,
719    T2081,
720    "WebSocket连接异常",
721    "WebSocket Connection Anomaly",
722    "Specific case under user request service anomaly"
723);
724
725const_errtype!(
726    ET_WEBSOCKET_DISCONN,
727    T2082,
728    "WebSocket连接断开",
729    "WebSocket Connection Disconnected",
730    "Specific case under user request service anomaly"
731);
732
733const_errtype!(
734    ET_USER_DUPLICATE_REQ,
735    T2083,
736    "用户重复请求",
737    "User Duplicate Request",
738    "Specific case under user request service anomaly"
739);
740
741const_errtype!(
742    ET_USER_RES_ANOMALY,
743    T2084,
744    "用户资源异常",
745    "User Resource Anomaly",
746    "Secondary macroscopic error code"
747);
748
749const_errtype!(
750    ET_INSUFF_ACCT_BALANCE,
751    T2085,
752    "账户余额不足",
753    "Insufficient Account Balance",
754    "Specific case under user resource anomaly"
755);
756
757const_errtype!(
758    ET_INSUFF_DISK_SPACE,
759    T2086,
760    "用户磁盘空间不足",
761    "User Insufficient Disk Space",
762    "Specific case under user resource anomaly"
763);
764
765const_errtype!(
766    ET_INSUFF_MEM,
767    T2087,
768    "用户内存空间不足",
769    "User Insufficient Memory Space",
770    "Specific case under user resource anomaly"
771);
772
773const_errtype!(
774    ET_OSS_CAP_INSUFF,
775    T2088,
776    "用户OSS容量不足",
777    "User OSS Capacity Insufficient",
778    "Specific case under user resource anomaly"
779);
780
781const_errtype!(
782    ET_QUOTA_EXH,
783    T2089,
784    "用户配额已用光",
785    "User Quota Exhausted",
786    "Specific case under user resource anomaly"
787);
788
789const_errtype!(
790    ET_FILE_UPLOAD_ANOMALY,
791    T2090,
792    "用户上传文件异常",
793    "User File Upload Anomaly",
794    "Secondary macroscopic error code"
795);
796
797const_errtype!(
798    ET_FILE_TYPE_MISMATCH,
799    T2091,
800    "用户上传文件类型不匹配",
801    "User File Upload Type Mismatch",
802    "Specific case under user file upload anomaly"
803);
804
805const_errtype!(
806    ET_FILE_TOO_LARGE,
807    T2092,
808    "用户上传文件太大",
809    "User File Upload Too Large",
810    "Specific case under user file upload anomaly"
811);
812
813const_errtype!(
814    ET_IMAGE_TOO_LARGE,
815    T2093,
816    "用户上传图片太大",
817    "User Image Upload Too Large",
818    "Specific case under user file upload anomaly"
819);
820
821const_errtype!(
822    ET_VIDEO_TOO_LARGE,
823    T2094,
824    "用户上传视频太大",
825    "User Video Upload Too Large",
826    "Specific case under user file upload anomaly"
827);
828
829const_errtype!(
830    ET_COMPR_FILE_TOO_LARGE,
831    T2095,
832    "用户上传压缩文件太大",
833    "User Compressed File Upload Too Large",
834    "Specific case under user file upload anomaly"
835);
836
837const_errtype!(
838    ET_CURR_VER_ANOMALY,
839    T2096,
840    "用户当前版本异常",
841    "User Current Version Anomaly",
842    "Secondary macroscopic error code"
843);
844
845const_errtype!(
846    ET_VER_INCOMP,
847    T2097,
848    "用户安装版本与系统不匹配",
849    "User Installed Version Incompatible With System",
850    "Specific case under user current version anomaly"
851);
852
853const_errtype!(
854    ET_VER_TOO_LOW,
855    T2098,
856    "用户安装版本过低",
857    "User Installed Version Too Low",
858    "Specific case under user current version anomaly"
859);
860
861const_errtype!(
862    ET_VER_TOO_HIGH,
863    T2099,
864    "用户安装版本过高",
865    "User Installed Version Too High",
866    "Specific case under user current version anomaly"
867);
868
869const_errtype!(
870    ET_VER_EXP,
871    T2100,
872    "用户安装版本已过期",
873    "User Installed Version Expired",
874    "Specific case under user current version anomaly"
875);
876
877const_errtype!(
878    ET_API_VER_MISMATCH,
879    T2101,
880    "用户API请求版本不匹配",
881    "User API Request Version Mismatch",
882    "Specific case under user current version anomaly"
883);
884
885const_errtype!(
886    ET_API_VER_TOO_HIGH,
887    T2102,
888    "用户API请求版本过高",
889    "User API Request Version Too High",
890    "Specific case under user current version anomaly"
891);
892
893const_errtype!(
894    ET_API_VER_TOO_LOW,
895    T2103,
896    "用户API请求版本过低",
897    "User API Request Version Too Low",
898    "Specific case under user current version anomaly"
899);
900
901const_errtype!(
902    ET_PRIV_NOT_AUTHZED,
903    T2104,
904    "用户隐私未授权",
905    "User Privacy Not Authorized",
906    "Secondary macroscopic error code"
907);
908
909const_errtype!(
910    ET_PRIV_NOT_SIGNED,
911    T2105,
912    "用户隐私未签署",
913    "User Privacy Not Signed",
914    "Specific case under user privacy not authorized"
915);
916
917const_errtype!(
918    ET_CAMERA_DEVICE_NOT_AUTHZED,
919    T2106,
920    "用户摄像头未授权",
921    "User Camera Device Not Authorized",
922    "Specific case under user privacy not authorized"
923);
924
925const_errtype!(
926    ET_CAMERA_NOT_AUTHZED,
927    T2107,
928    "用户相机未授权",
929    "User Camera Not Authorized",
930    "Specific case under user privacy not authorized"
931);
932
933const_errtype!(
934    ET_PHOTO_LIBRARY_NOT_AUTHZED,
935    T2108,
936    "用户图片库未授权",
937    "User Photo Library Not Authorized",
938    "Specific case under user privacy not authorized"
939);
940
941const_errtype!(
942    ET_FILE_ACCESS_NOT_AUTHZED,
943    T2109,
944    "用户文件未授权",
945    "User Files Not Authorized",
946    "Specific case under user privacy not authorized"
947);
948
949const_errtype!(
950    ET_LOC_NOT_AUTHZED,
951    T2110,
952    "用户位置信息未授权",
953    "User Location Information Not Authorized",
954    "Specific case under user privacy not authorized"
955);
956
957const_errtype!(
958    ET_CONTACT_LIST_NOT_AUTHZED,
959    T2111,
960    "用户通讯录未授权",
961    "User Contact List Not Authorized",
962    "Specific case under user privacy not authorized"
963);
964
965const_errtype!(
966    ET_SYS_ERR,
967    T3000,
968    "系统执行出错",
969    "System Execution Error",
970    "Primary macroscopic error code"
971);
972
973const_errtype!(
974    ET_SYS_TIMEOUT,
975    T3001,
976    "系统执行超时",
977    "System Execution Timeout",
978    "Secondary macroscopic error code"
979);
980
981const_errtype!(
982    ET_ORDER_PROC_TIMEOUT,
983    T3002,
984    "系统订单处理超时",
985    "System Order Processing Timeout",
986    "Specific case under system execution timeout"
987);
988
989const_errtype!(
990    ET_DISASTER_RECOV_TRIG,
991    T3003,
992    "系统容灾功能被触发",
993    "System Disaster Recovery Function Triggered",
994    "Secondary macroscopic error code"
995);
996
997const_errtype!(
998    ET_FLOW_RESTR,
999    T3004,
1000    "系统限流",
1001    "System Flow Restriction",
1002    "Specific case under system disaster recovery function triggered"
1003);
1004
1005const_errtype!(
1006    ET_FUNC_DOWNGRADED,
1007    T3005,
1008    "系统功能降级",
1009    "System Functionality Downgraded",
1010    "Specific case under system disaster recovery function triggered"
1011);
1012
1013const_errtype!(
1014    ET_SYS_RES_ANOMALY,
1015    T3006,
1016    "系统资源异常",
1017    "System Resource Anomaly",
1018    "Secondary macroscopic error code"
1019);
1020
1021const_errtype!(
1022    ET_RES_EXH,
1023    T3007,
1024    "系统资源耗尽",
1025    "System Resources Exhausted",
1026    "Specific case under system resource anomaly"
1027);
1028
1029const_errtype!(
1030    ET_DISK_SPACE_EXH,
1031    T3008,
1032    "系统磁盘空间耗尽",
1033    "System Disk Space Exhausted",
1034    "Specific case under system resources exhausted"
1035);
1036
1037const_errtype!(
1038    ET_MEM_EXH,
1039    T3009,
1040    "系统内存耗尽",
1041    "System Memory Exhausted",
1042    "Specific case under system resources exhausted"
1043);
1044
1045const_errtype!(
1046    ET_FD_EXH,
1047    T3010,
1048    "文件句柄耗尽",
1049    "File Handles Exhausted",
1050    "Specific case under system resources exhausted"
1051);
1052
1053const_errtype!(
1054    ET_CONNION_POOL_EXH,
1055    T3011,
1056    "系统连接池耗尽",
1057    "System Connection Pool Exhausted",
1058    "Specific case under system resources exhausted"
1059);
1060
1061const_errtype!(
1062    ET_THREAD_POOL_EXH,
1063    T3012,
1064    "系统线程池耗尽",
1065    "System Thread Pool Exhausted",
1066    "Specific case under system resources exhausted"
1067);
1068
1069const_errtype!(
1070    ET_RES_ACCESS_ANOMALY,
1071    T3013,
1072    "系统资源访问异常",
1073    "System Resource Access Anomaly",
1074    "Specific case under system resource anomaly"
1075);
1076
1077const_errtype!(
1078    ET_READ_DISK_FILE_FAIL,
1079    T3014,
1080    "系统读取磁盘文件失败",
1081    "System Failed To Read Disk File",
1082    "Specific case under system resource access anomaly"
1083);
1084
1085const_errtype!(
1086    ET_ERR_CALLING_3P,
1087    T3015,
1088    "调用第三方服务出错",
1089    "Error Calling Third-Party Service",
1090    "Primary macroscopic error code"
1091);
1092
1093const_errtype!(
1094    ET_MIDDLEWARE_SERV,
1095    T3016,
1096    "中间件服务出错",
1097    "Middleware Service Error",
1098    "Secondary macroscopic error code"
1099);
1100
1101const_errtype!(
1102    ET_RPC_SERV,
1103    T3017,
1104    "RPC服务出错",
1105    "RPC Service Error",
1106    "Specific case under middleware service error"
1107);
1108
1109const_errtype!(
1110    ET_RPC_SERV_NOT_FOUND,
1111    T3018,
1112    "RPC服务未找到",
1113    "RPC Service Not Found",
1114    "Specific case under RPC service error"
1115);
1116
1117const_errtype!(
1118    ET_RPC_SERV_NOT_REG,
1119    T3019,
1120    "RPC服务未注册",
1121    "RPC Service Not Registered",
1122    "Specific case under RPC service error"
1123);
1124
1125const_errtype!(
1126    ET_INTERFACE_NOT_EXIST,
1127    T3020,
1128    "接口不存在",
1129    "Interface Does Not Exist",
1130    "Specific case under RPC service error"
1131);
1132
1133const_errtype!(
1134    ET_MSG_SERV,
1135    T3021,
1136    "消息服务出错",
1137    "Message Service Error",
1138    "Specific case under middleware service error"
1139);
1140
1141const_errtype!(
1142    ET_MSG_DELIVERY,
1143    T3022,
1144    "消息投递出错",
1145    "Message Delivery Error",
1146    "Specific case under message service error"
1147);
1148
1149const_errtype!(
1150    ET_MSG_CONSUMPTION,
1151    T3023,
1152    "消息消费出错",
1153    "Message Consumption Error",
1154    "Specific case under message service error"
1155);
1156
1157const_errtype!(
1158    ET_MSG_SUBSCRIPTION,
1159    T3024,
1160    "消息订阅出错",
1161    "Message Subscription Error",
1162    "Specific case under message service error"
1163);
1164
1165const_errtype!(
1166    ET_MSG_GROUP_NOT_FOUND,
1167    T3025,
1168    "消息分组未查到",
1169    "Message Group Not Found",
1170    "Specific case under message service error"
1171);
1172
1173const_errtype!(
1174    ET_CACHE_SERV,
1175    T3026,
1176    "缓存服务出错",
1177    "Cache Service Error",
1178    "Specific case under middleware service error"
1179);
1180
1181const_errtype!(
1182    ET_KEY_LEN_EXCD_LIM,
1183    T3027,
1184    "key长度超过限制",
1185    "Key Length Exceeds Limit",
1186    "Specific case under cache service error"
1187);
1188
1189const_errtype!(
1190    ET_VAL_LEN_EXCD_LIM,
1191    T3028,
1192    "value长度超过限制",
1193    "Value Length Exceeds Limit",
1194    "Specific case under cache service error"
1195);
1196
1197const_errtype!(
1198    ET_STORAGE_CAP_FULL,
1199    T3029,
1200    "存储容量已满",
1201    "Storage Capacity Full",
1202    "Specific case under cache service error"
1203);
1204
1205const_errtype!(
1206    ET_UNSUPPORTED_DATA_FMT,
1207    T3030,
1208    "不支持的数据格式",
1209    "Unsupported Data Format",
1210    "Specific case under cache service error"
1211);
1212
1213const_errtype!(
1214    ET_CFG_SERV,
1215    T3031,
1216    "配置服务出错",
1217    "Configuration Service Error",
1218    "Specific case under middleware service error"
1219);
1220
1221const_errtype!(
1222    ET_NET_RES_SERV,
1223    T3032,
1224    "网络资源服务出错",
1225    "Network Resource Service Error",
1226    "Specific case under middleware service error"
1227);
1228
1229const_errtype!(
1230    ET_VPN_SERV,
1231    T3033,
1232    "VPN服务出错",
1233    "VPN Service Error",
1234    "Specific case under network resource service error"
1235);
1236
1237const_errtype!(
1238    ET_CDN_SERV,
1239    T3034,
1240    "CDN服务出错",
1241    "CDN Service Error",
1242    "Specific case under network resource service error"
1243);
1244
1245const_errtype!(
1246    ET_DNS_SERV,
1247    T3035,
1248    "域名解析服务出错",
1249    "Domain Name Resolution Service Error",
1250    "Specific case under network resource service error"
1251);
1252
1253const_errtype!(
1254    ET_GW_SERV,
1255    T3036,
1256    "网关服务出错",
1257    "Gateway Service Error",
1258    "Specific case under network resource service error"
1259);
1260
1261const_errtype!(
1262    ET_3P_TIMEOUT,
1263    T3037,
1264    "第三方系统执行超时",
1265    "Third-Party System Execution Timeout",
1266    "Secondary macroscopic error code"
1267);
1268
1269const_errtype!(
1270    ET_RPC_TIMEOUT,
1271    T3038,
1272    "RPC执行超时",
1273    "RPC Execution Timeout",
1274    "Specific case under third-party system execution timeout"
1275);
1276
1277const_errtype!(
1278    ET_MSG_DELIVERY_TIMEOUT,
1279    T3039,
1280    "消息投递超时",
1281    "Message Delivery Timeout",
1282    "Specific case under third-party system execution timeout"
1283);
1284
1285const_errtype!(
1286    ET_CACHE_TIMEOUT,
1287    T3040,
1288    "缓存服务超时",
1289    "Cache Service Timeout",
1290    "Specific case under third-party system execution timeout"
1291);
1292
1293const_errtype!(
1294    ET_CFG_TIMEOUT,
1295    T3041,
1296    "配置服务超时",
1297    "Configuration Service Timeout",
1298    "Specific case under third-party system execution timeout"
1299);
1300
1301const_errtype!(
1302    ET_DB_TIMEOUT,
1303    T3042,
1304    "数据库服务超时",
1305    "Database Service Timeout",
1306    "Specific case under third-party system execution timeout"
1307);
1308
1309const_errtype!(
1310    ET_DB_SERV,
1311    T3043,
1312    "数据库服务出错",
1313    "Database Service Error",
1314    "Secondary macroscopic error code"
1315);
1316
1317const_errtype!(
1318    ET_TABLE_NOT_EXIST,
1319    T3044,
1320    "表不存在",
1321    "Table Does Not Exist",
1322    "Specific case under database service error"
1323);
1324
1325const_errtype!(
1326    ET_COL_NOT_EXIST,
1327    T3045,
1328    "列不存在",
1329    "Column Does Not Exist",
1330    "Specific case under database service error"
1331);
1332
1333const_errtype!(
1334    ET_ROW_NOT_EXIST,
1335    T3046,
1336    "行不存在",
1337    "Row Does Not Exist",
1338    "Specific case under database service error"
1339);
1340
1341const_errtype!(
1342    ET_MULT_IDENTICAL_COLS,
1343    T3047,
1344    "多表关联中存在多个相同名称的列",
1345    "Multiple Identical Column Names In Multi-Table Association",
1346    "Specific case under database service error"
1347);
1348
1349const_errtype!(
1350    ET_DB_DEADLOCK,
1351    T3048,
1352    "数据库死锁",
1353    "Database Deadlock",
1354    "Specific case under database service error"
1355);
1356
1357const_errtype!(
1358    ET_PRI_KEY_CONFLICT,
1359    T3049,
1360    "主键冲突",
1361    "Primary Key Conflict",
1362    "Specific case under database service error"
1363);
1364
1365const_errtype!(
1366    ET_3P_DISASTER_RECOV_TRIG,
1367    T3050,
1368    "第三方容灾系统被触发",
1369    "Third-Party Disaster Recovery System Triggered",
1370    "Secondary macroscopic error code"
1371);
1372
1373const_errtype!(
1374    ET_3P_FLOW_RESTR,
1375    T3051,
1376    "第三方系统限流",
1377    "Third-party System Flow Restriction",
1378    "Specific case under third-party disaster recovery system triggered"
1379);
1380
1381const_errtype!(
1382    ET_3P_FUNC_DOWNGRADED,
1383    T3052,
1384    "第三方功能降级",
1385    "Third-party Functionality Downgrade",
1386    "Specific case under third-party disaster recovery system triggered"
1387);
1388
1389const_errtype!(
1390    ET_NOTIF_SERV,
1391    T3053,
1392    "通知服务出错",
1393    "Notification Service Error",
1394    "Secondary macroscopic error code"
1395);
1396
1397const_errtype!(
1398    ET_SMS_REMINDER_FAIL,
1399    T3054,
1400    "短信提醒服务失败",
1401    "SMS Reminder Service Failure",
1402    "Specific case under notification service error"
1403);
1404
1405const_errtype!(
1406    ET_VOICE_REMINDER_FAIL,
1407    T3055,
1408    "语音提醒服务失败",
1409    "Voice Reminder Service Failure",
1410    "Specific case under notification service error"
1411);
1412
1413const_errtype!(
1414    ET_EMAIL_REMINDER_FAIL,
1415    T3056,
1416    "邮件提醒服务失败",
1417    "Email Reminder Service Failure",
1418    "Specific case under notification service error"
1419);