UNPKG

@bitblit/epsilon

Version:

Tiny adapter to simplify building API gateway Lambda APIS

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