This commit is contained in:
2026-01-12 18:01:04 +08:00
commit 94784ee1ec
39 changed files with 2847 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
/**
* API错误
*/
export declare class WeChatError extends Error {
errcode: number;
errmsg: string;
constructor(errcode: number, errmsg: string);
}
//# sourceMappingURL=wechat-error.d.ts.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"wechat-error.d.ts","sourceRoot":"","sources":["../../src/common/wechat-error.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,qBAAa,WAAY,SAAQ,KAAK;IAEvB,OAAO,EAAE,MAAM;IACf,MAAM,EAAE,MAAM;gBADd,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,MAAM;CAI5B"}
+13
View File
@@ -0,0 +1,13 @@
/**
* API错误
*/
export class WeChatError extends Error {
errcode;
errmsg;
constructor(errcode, errmsg) {
super(`企业微信API错误 [${errcode}]: ${errmsg}`);
this.errcode = errcode;
this.errmsg = errmsg;
}
}
//# sourceMappingURL=wechat-error.js.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"wechat-error.js","sourceRoot":"","sources":["../../src/common/wechat-error.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,OAAO,WAAY,SAAQ,KAAK;IAEvB;IACA;IAFX,YACW,OAAe,EACf,MAAc;QAErB,KAAK,CAAC,cAAc,OAAO,MAAM,MAAM,EAAE,CAAC,CAAC;QAHpC,YAAO,GAAP,OAAO,CAAQ;QACf,WAAM,GAAN,MAAM,CAAQ;IAGzB,CAAC;CACJ"}