@mptool/all 0.9.0 → 0.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.d.mts CHANGED
@@ -36,6 +36,7 @@ interface MpErrorOptions$1 {
36
36
  declare class MpError$1 extends Error {
37
37
  code: number | null;
38
38
  constructor({ code, message }: MpErrorOptions$1);
39
+ toString(): string;
39
40
  }
40
41
 
41
42
  /** 写入普通日志 */
@@ -1142,6 +1143,7 @@ interface MpErrorOptions {
1142
1143
  declare class MpError extends Error {
1143
1144
  code: number | null;
1144
1145
  constructor({ code, message }: MpErrorOptions);
1146
+ toString(): string;
1145
1147
  }
1146
1148
 
1147
1149
  /**
package/lib/index.d.ts CHANGED
@@ -36,6 +36,7 @@ interface MpErrorOptions$1 {
36
36
  declare class MpError$1 extends Error {
37
37
  code: number | null;
38
38
  constructor({ code, message }: MpErrorOptions$1);
39
+ toString(): string;
39
40
  }
40
41
 
41
42
  /** 写入普通日志 */
@@ -1142,6 +1143,7 @@ interface MpErrorOptions {
1142
1143
  declare class MpError extends Error {
1143
1144
  code: number | null;
1144
1145
  constructor({ code, message }: MpErrorOptions);
1146
+ toString(): string;
1145
1147
  }
1146
1148
 
1147
1149
  /**