Class: RedisClient::Cluster::AmbiguousNodeError
- Inherits:
-
Error
- Object
- Error
- RedisClient::Cluster::AmbiguousNodeError
- Defined in:
- lib/redis_client/cluster/errors.rb
Overview
Raised when cluster client can’t select node.
Instance Method Summary collapse
-
#initialize(command) ⇒ AmbiguousNodeError
constructor
A new instance of AmbiguousNodeError.
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 |