@gabliam/web-core
Version:
Gabliam plugin for add web-core
14 lines (13 loc) • 708 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.NotImplementedException = void 0;
const tslib_1 = require("tslib");
const http_status_codes_1 = tslib_1.__importDefault(require("http-status-codes"));
const statuses_1 = tslib_1.__importDefault(require("statuses"));
const http_exception_1 = require("./http-exception");
class NotImplementedException extends http_exception_1.HttpException {
constructor(message, error = statuses_1.default.message[http_status_codes_1.default.NOT_IMPLEMENTED], otherFields = {}) {
super(message, http_status_codes_1.default.NOT_IMPLEMENTED, error, otherFields);
}
}
exports.NotImplementedException = NotImplementedException;