Exception: Bunny::HostListDepleted

Inherits:
Exception
  • Object
show all
Defined in:
lib/bunny/exceptions.rb

Overview

Used when a list of endpoints (hostnames) to connect to has been fully traversed, that is, there are no more endpoints (hostnames) to try.

Instance Method Summary collapse

Constructor Details

#initializeHostListDepleted

Returns a new instance of HostListDepleted.



13
14
15
# File 'lib/bunny/exceptions.rb', line 13

def initialize
  super("No more hosts to try in the supplied list of hosts")
end