Class: RedisClient::Cluster::NodeMightBeDown

Inherits:
Error
  • Object
show all
Defined in:
lib/redis_client/cluster/errors.rb

Instance Method Summary collapse

Methods inherited from Error

#with_config

Constructor Details

#initialize(_error_message = nil) ⇒ NodeMightBeDown

Returns a new instance of NodeMightBeDown.



69
70
71
72
73
74
75
# File 'lib/redis_client/cluster/errors.rb', line 69

def initialize(_error_message = nil)
  super(
    'The client is trying to fetch the latest cluster state ' \
    'because a subset of nodes might be down. ' \
    'It might continue to raise errors for a while.'
  )
end