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