UNPKG

@bitblit/epsilon

Version:

Tiny adapter to simplify building API gateway Lambda APIS

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