UNPKG

@bitblit/epsilon

Version:

Tiny adapter to simplify building API gateway Lambda APIS

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