Exception: Redis::Cluster::CrossSlotPipeliningError

Inherits:
BaseError
  • Object
show all
Defined in:
lib/redis/errors.rb

Overview

Raised when commands in pipelining include cross slot keys.

Instance Method Summary collapse

Constructor Details

#initialize(keys) ⇒ CrossSlotPipeliningError

Returns a new instance of CrossSlotPipeliningError.



82
83
84
85
# File 'lib/redis/errors.rb', line 82

def initialize(keys)
  super("Cluster client couldn't send pipelining to single node. "\
        "The commands include cross slot keys. #{keys}")
end