Skip to content

Commit

Permalink
add NodeMightBeDown error to cluster.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
learoyklinginsmith committed Nov 29, 2023
1 parent 37aabd5 commit a14c3c0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cluster/lib/redis/cluster.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ class AmbiguousNodeError < BaseError
class TransactionConsistencyError < BaseError
end

class NodeMightBeDown < BaseError
end

def connection
raise NotImplementedError, "Redis::Cluster doesn't implement #connection"
end
Expand Down

0 comments on commit a14c3c0

Please sign in to comment.