Exception: RedisFailover::NodeUnavailableError
- Defined in:
- lib/redis_failover/errors.rb
Overview
Raised when a node is unavailable (i.e., unreachable via network).
Instance Method Summary collapse
-
#initialize(node) ⇒ NodeUnavailableError
constructor
A new instance of NodeUnavailableError.
Constructor Details
#initialize(node) ⇒ NodeUnavailableError
Returns a new instance of NodeUnavailableError.
19 20 21 |
# File 'lib/redis_failover/errors.rb', line 19 def initialize(node) super("Node: #{node}") end |