use-cache-helper
Version:
use-cache-helper provides helper functions to easily manage and scale your redis and database caching strategies.
13 lines • 432 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.UseCacheError = void 0;
class UseCacheError extends Error {
constructor(message, opts) {
const sanitized = `UseCacheError:${message}`;
super(sanitized, opts);
this.message = `UseCacheError${message}`;
this.name = 'UseCacheError';
}
}
exports.UseCacheError = UseCacheError;
//# sourceMappingURL=errors.js.map