file-cms
Version:
File based Content Management System, easy to use with content stored in native file system
16 lines (15 loc) • 687 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.NoRootDirSetError = void 0;
var tslib_1 = require("tslib");
var NoRootDirSetError = /** @class */ (function (_super) {
tslib_1.__extends(NoRootDirSetError, _super);
function NoRootDirSetError() {
var _newTarget = this.constructor;
var _this = _super.call(this, "rootDir not set. Please set the rootDir using Config.setRootDir(rootDir) method. rootDir is the path where the content is stored") || this;
Object.setPrototypeOf(_this, _newTarget.prototype);
return _this;
}
return NoRootDirSetError;
}(Error));
exports.NoRootDirSetError = NoRootDirSetError;