node-web-mvc
Version:
node spring mvc
17 lines (16 loc) • 591 B
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
/**
* @module EntityTooLargeError
* @description 一个错误类型,用于表示当前请求实体过大
*/
const Exception_1 = __importDefault(require("./Exception"));
class EntityTooLargeError extends Exception_1.default {
constructor(name, current, max) {
super(`Entity too large ${current} > max(${max})`);
}
}
exports.default = EntityTooLargeError;