Shun Miyazawa 3 năm trước cách đây
mục cha
commit
9442e87afd

+ 1 - 1
packages/core/src/models/vo/error-apiv3.ts

@@ -4,7 +4,7 @@ export class ErrorV3 extends Error {
 
 
   args?: any;
   args?: any;
 
 
-  constructor(message = '', code = undefined, stack = undefined, args: any = undefined) {
+  constructor(message = '', code = '', stack = undefined, args: any = undefined) {
     super(); // do not provide message to the super constructor
     super(); // do not provide message to the super constructor
     this.message = message;
     this.message = message;
     this.code = code;
     this.code = code;