Exception: Redis::Cluster::InitialSetupError
- Defined in:
- lib/redis/errors.rb
Overview
Raised when client connected to redis as cluster mode and failed to fetch cluster state information by commands.
Instance Method Summary collapse
-
#initialize(errors) ⇒ InitialSetupError
constructor
A new instance of InitialSetupError.
Constructor Details
#initialize(errors) ⇒ InitialSetupError
Returns a new instance of InitialSetupError.
52 53 54 |
# File 'lib/redis/errors.rb', line 52 def initialize(errors) super("Redis client could not fetch cluster information: #{errors.map(&:message).uniq.join(',')}") end |