Class: RedisClient::Cluster::InitialSetupError

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

Class Method Summary collapse

Methods inherited from Error

#with_config

Class Method Details

.from_errors(errors) ⇒ Object



19
20
21
22
# File 'lib/redis_client/cluster/errors.rb', line 19

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