@bitblit/epsilon
Version:
Tiny adapter to simplify building API gateway Lambda APIS
14 lines • 524 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.NotImplemented = void 0;
const common_1 = require("@bitblit/ratchet/common");
class NotImplemented extends common_1.RestfulApiHttpError {
constructor(...errors) {
super(...errors);
Object.setPrototypeOf(this, NotImplemented.prototype);
this.withHttpStatusCode(NotImplemented.HTTP_CODE);
}
}
exports.NotImplemented = NotImplemented;
NotImplemented.HTTP_CODE = 501;
//# sourceMappingURL=not-implemented.js.map