wip
This commit is contained in:
Vendored
+9
@@ -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
|
||||
Vendored
+1
@@ -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"}
|
||||
Vendored
+13
@@ -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
|
||||
Vendored
+1
@@ -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"}
|
||||
Reference in New Issue
Block a user