perf: 【破坏性更新】错误返回信息msg字段名统一改成message,与成功的返回结构一致

This commit is contained in:
xiaojunnuo
2026-02-26 23:50:01 +08:00
parent 3a8b5de8f7
commit 51ab6d6da1
3 changed files with 9 additions and 9 deletions
@@ -4,7 +4,7 @@
export class BaseException extends Error {
code: number;
data?:any
constructor(name, code, message,data?:any) {
constructor(name: string, code: number, message: string ,data?:any) {
super(message);
this.name = name;
this.code = code;