lib/redis_failover/errors.rb in redis_failover-0.4.0 vs lib/redis_failover/errors.rb in redis_failover-0.5.0
- old
+ new
@@ -26,15 +26,9 @@
end
class NoSlaveError < Error
end
- class FailoverServerUnavailableError < Error
- def initialize(failover_server_url)
- super("Unable to access #{failover_server_url}")
- end
- end
-
class InvalidNodeRoleError < Error
def initialize(node, assumed, actual)
super("Invalid role detected for node #{node}, client thought " +
"it was a #{assumed}, but it's now a #{actual}")
end
\ No newline at end of file