Exception: Redis::Cluster::InitialSetupError

Inherits:
BaseError
  • Object
show all
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

Constructor Details

#initialize(errors) ⇒ InitialSetupError

Returns a new instance of InitialSetupError.

Parameters:



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