@foxify/http
Version:
Foxify HTTP module
15 lines • 604 B
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const http_1 = require("http");
const constants_1 = require("../constants");
const HttpError_1 = __importDefault(require("./HttpError"));
class NotFound extends HttpError_1.default {
constructor(message = http_1.STATUS_CODES[constants_1.STATUS.NOT_FOUND]) {
super(message, constants_1.STATUS.NOT_FOUND);
}
}
exports.default = NotFound;
//# sourceMappingURL=NotFound.js.map