lib/redis_failover/errors.rb in redis_failover-0.5.2 vs lib/redis_failover/errors.rb in redis_failover-0.5.3
- old
+ new
@@ -38,6 +38,12 @@
class UnsupportedOperationError < Error
def initialize(operation)
super("Operation `#{operation}` is currently unsupported")
end
end
+
+ class MissingNodeManagerError < Error
+ def initialize(timeout)
+ super("Failed to hear from Node Manager within #{timeout} seconds")
+ end
+ end
end
\ No newline at end of file