plus-midwayjs
Version:
16 lines (15 loc) • 353 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.BaseException = void 0;
/**
* 异常基类
*/
class BaseException extends Error {
constructor(name, code, msg) {
super(msg);
this.name = name;
this.status = code;
this.message = msg;
}
}
exports.BaseException = BaseException;