UNPKG

node-web-mvc

Version:
18 lines (17 loc) 578 B
"use strict"; 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 ResponseStatusException extends Exception_1.default { constructor(code, reason) { super(`status=${code},reason=${reason}`); this.code = code; this.reason = reason; } getResponseHeaders() { return {}; } } exports.default = ResponseStatusException;