UNPKG

@mvx/mvc

Version:

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

23 lines (21 loc) 581 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.UnauthorizedError = void 0; const HttpError_1 = require("./HttpError"); /** * unauthorized error. * * @export * @class UnauthorizedError * @extends {HttpError} */ class UnauthorizedError extends HttpError_1.HttpError { constructor(message = 'Unauthorized') { super(401, message); } static ρAnn() { return { "name": "UnauthorizedError" }; } } exports.UnauthorizedError = UnauthorizedError; //# sourceMappingURL=../sourcemaps/errors/UnauthorizedError.js.map