UNPKG

@bitblit/ratchet-epsilon-common

Version:

Tiny adapter to simplify building API gateway Lambda APIS

10 lines 429 B
import { RestfulApiHttpError } from '@bitblit/ratchet-common/network/restful-api-http-error'; export class RequestTimeoutError extends RestfulApiHttpError { static HTTP_CODE = 500; constructor(...errors) { super(...errors); Object.setPrototypeOf(this, RequestTimeoutError.prototype); this.withHttpStatusCode(RequestTimeoutError.HTTP_CODE); } } //# sourceMappingURL=request-timeout-error.js.map