class RedisCluster::KeysNotAtSameSlotError

Public Class Methods

new(keys) click to toggle source
Calls superclass method
# File lib/redis_cluster/errors.rb, line 9
def initialize(keys)
  super("Keys must map to the same Redis Cluster slot when using " \
    "EVAL/EVALSHA. Consider using Redis Cluster 'hash tags' (see " \
    "documentation). Keys: #{keys}")
end