UNPKG

@mvx/mvc

Version:

@mvx/mvc is mvc framework on server, base on koa, @tsdi frameworks

23 lines (21 loc) 621 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.MethodNotAllowedError = void 0; const HttpError_1 = require("./HttpError"); /** * method not allowed error. * * @export * @class MethodNotAllowedError * @extends {HttpError} */ class MethodNotAllowedError extends HttpError_1.HttpError { constructor(message = 'Method Not Allowed') { super(405, message); } static ρAnn() { return { "name": "MethodNotAllowedError" }; } } exports.MethodNotAllowedError = MethodNotAllowedError; //# sourceMappingURL=../sourcemaps/errors/MethodNotAllowedError.js.map