node-web-mvc
Version:
node spring mvc
15 lines (14 loc) • 538 B
JavaScript
;
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 HttpStatusError extends Exception_1.default {
constructor(status, path) {
super(`status=${status.code},reason=${status.message},path=${path}`);
this.status = status;
this.path = path;
}
}
exports.default = HttpStatusError;