@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 NotImplemented extends RestfulApiHttpError {
static HTTP_CODE = 501;
constructor(...errors) {
super(...errors);
Object.setPrototypeOf(this, NotImplemented.prototype);
this.withHttpStatusCode(NotImplemented.HTTP_CODE);
}
}
//# sourceMappingURL=not-implemented.js.map