class Redis::Directory::ReservationError

If you are unable to reserve a database during a connection attempt, this error is raised.

Public Class Methods

new(directory, service_name, connection_name) click to toggle source
Calls superclass method
   # File lib/redis_directory.rb
22 def initialize(directory, service_name, connection_name)
23   super "Unable to reserve a database for #{service_name}:#{connection_name}!\nCurrent databases for service: #{directory.redis.hgetall("#{service_name}-service")}"
24 end