File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,9 @@ class AmbiguousNodeError < BaseError
41
41
class TransactionConsistencyError < BaseError
42
42
end
43
43
44
+ class NodeMightBeDown < BaseError
45
+ end
46
+
44
47
def connection
45
48
raise NotImplementedError , "Redis::Cluster doesn't implement #connection"
46
49
end
Original file line number Diff line number Diff line change @@ -10,7 +10,8 @@ class Client < RedisClient::Cluster
10
10
RedisClient ::Cluster ::OrchestrationCommandNotSupported => Redis ::Cluster ::OrchestrationCommandNotSupported ,
11
11
RedisClient ::Cluster ::AmbiguousNodeError => Redis ::Cluster ::AmbiguousNodeError ,
12
12
RedisClient ::Cluster ::ErrorCollection => Redis ::Cluster ::CommandErrorCollection ,
13
- RedisClient ::Cluster ::Transaction ::ConsistencyError => Redis ::Cluster ::TransactionConsistencyError
13
+ RedisClient ::Cluster ::Transaction ::ConsistencyError => Redis ::Cluster ::TransactionConsistencyError ,
14
+ RedisClient ::Cluster ::NodeMightBeDown => Redis ::Cluster ::NodeMightBeDown ,
14
15
) . freeze
15
16
16
17
class << self
You can’t perform that action at this time.
0 commit comments