@bitblit/ratchet-epsilon-common
Version:
Tiny adapter to simplify building API gateway Lambda APIS
10 lines • 408 B
JavaScript
import { RestfulApiHttpError } from '@bitblit/ratchet-common/network/restful-api-http-error';
export class GatewayTimeout extends RestfulApiHttpError {
static HTTP_CODE = 504;
constructor(...errors) {
super(...errors);
Object.setPrototypeOf(this, GatewayTimeout.prototype);
this.withHttpStatusCode(GatewayTimeout.HTTP_CODE);
}
}
//# sourceMappingURL=gateway-timeout.js.map