node-web-mvc
Version:
node spring mvc
17 lines (16 loc) • 555 B
JavaScript
;
/**
* @mdoule ViewNotFoundError
* @description 一个错误类型,用于表示找不到视图
*/
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const Exception_1 = __importDefault(require("./Exception"));
class ViewNotFoundError extends Exception_1.default {
constructor(viewName) {
super(`Cannot find view : ${viewName}`);
}
}
exports.default = ViewNotFoundError;