You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
539 B
16 lines
539 B
1 month ago
|
"use strict";
|
||
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||
|
const redis_errors_1 = require("redis-errors");
|
||
|
class ClusterAllFailedError extends redis_errors_1.RedisError {
|
||
|
constructor(message, lastNodeError) {
|
||
|
super(message);
|
||
|
this.lastNodeError = lastNodeError;
|
||
|
Error.captureStackTrace(this, this.constructor);
|
||
|
}
|
||
|
get name() {
|
||
|
return this.constructor.name;
|
||
|
}
|
||
|
}
|
||
|
exports.default = ClusterAllFailedError;
|
||
|
ClusterAllFailedError.defaultMessage = "Failed to refresh slots cache.";
|