UNPKG

@bitblit/epsilon

Version:

Tiny adapter to simplify building API gateway Lambda APIS

14 lines 492 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.BadGateway = void 0; const common_1 = require("@bitblit/ratchet/common"); class BadGateway extends common_1.RestfulApiHttpError { constructor(...errors) { super(...errors); Object.setPrototypeOf(this, BadGateway.prototype); this.withHttpStatusCode(BadGateway.HTTP_CODE); } } exports.BadGateway = BadGateway; BadGateway.HTTP_CODE = 502; //# sourceMappingURL=bad-gateway.js.map