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