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



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

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