UNPKG

@bitblit/epsilon

Version:

Tiny adapter to simplify building API gateway Lambda APIS

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