Class: RedisClient::Cluster::InitialSetupError

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

Instance Method Summary collapse

Constructor Details

#initialize(errors) ⇒ InitialSetupError

Returns a new instance of InitialSetupError.



10
11
12
13
# File 'lib/redis_client/cluster/errors.rb', line 10

def initialize(errors)
  msg = ERR_ARG_NORMALIZATION.call(errors).map(&:message).uniq.join(',')
  super("Redis client could not fetch cluster information: #{msg}")
end