UNPKG

@gabliam/cache

Version:
14 lines (13 loc) 612 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CachePgkNotInstalledError = void 0; class CachePgkNotInstalledError extends Error { constructor(Cachename) { super(); this.name = 'CachePgkNotInstalledError'; // Set the prototype explicitly. Object.setPrototypeOf(this, CachePgkNotInstalledError.prototype); this.message = ` Cache "${Cachename}" package has not been found installed. Try to install it: npm install ${Cachename} --save or yarn add ${Cachename}`; } } exports.CachePgkNotInstalledError = CachePgkNotInstalledError;