UNPKG

file-cms

Version:

File based Content Management System, easy to use with content stored in native file system

13 lines (12 loc) 552 B
import { __extends } from "tslib"; var NoRootDirSetError = /** @class */ (function (_super) { __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)); export { NoRootDirSetError };