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