UNPKG

@gabliam/cache

Version:
14 lines (13 loc) 528 B
"use strict"; 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;