@foxpage/foxpage-node-sdk
Version:
foxpage node sdk
17 lines (16 loc) • 574 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.NotFoundAppByPathError = void 0;
const enum_1 = require("./enum");
const NotFoundAppError_1 = require("./NotFoundAppError");
class NotFoundAppByPathError extends Error {
constructor(path) {
super(`can't find application by path: "${path}"`);
this.code = NotFoundAppError_1.NotFoundAppCode;
this.status = enum_1.FoxpageStatus.NOT_MATCH_ROUTER;
this.detail = {
path,
};
}
}
exports.NotFoundAppByPathError = NotFoundAppByPathError;