Class: RedisClient::Cluster::AmbiguousNodeError

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

Overview

Raised when cluster client can’t select node.

Instance Method Summary collapse

Constructor Details

#initialize(command) ⇒ AmbiguousNodeError

Returns a new instance of AmbiguousNodeError.



50
51
52
# File 'lib/redis_client/cluster/errors.rb', line 50

def initialize(command)
  super("Cluster client doesn't know which node the #{command} command should be sent to.")
end