@gabliam/cache
Version:
cache plugin for gabliam
14 lines (13 loc) • 528 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.CacheNameIsMandatoryError = void 0;
class CacheNameIsMandatoryError extends Error {
constructor() {
super();
this.name = 'CacheNameIsMandatoryError';
// Set the prototype explicitly.
Object.setPrototypeOf(this, CacheNameIsMandatoryError.prototype);
this.message = ` Cache name is mandatory. . Add it with @Cacheable or @Cache`;
}
}
exports.CacheNameIsMandatoryError = CacheNameIsMandatoryError;