Exception: RedisFailover::InvalidNodeStateError
- Defined in:
- lib/redis_failover/errors.rb
Overview
Raised when a node changes to an invalid/unknown state.
Instance Method Summary collapse
-
#initialize(node, state) ⇒ InvalidNodeStateError
constructor
A new instance of InvalidNodeStateError.
Constructor Details
#initialize(node, state) ⇒ InvalidNodeStateError
Returns a new instance of InvalidNodeStateError.
12 13 14 |
# File 'lib/redis_failover/errors.rb', line 12 def initialize(node, state) super("Invalid state change `#{state}` for node #{node}") end |