Exception: RedisFailover::InvalidNodeStateError

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

Overview

Raised when a node changes to an invalid/unknown state.

Instance Method Summary collapse

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