lib/bunny/exceptions.rb in bunny-2.6.3 vs lib/bunny/exceptions.rb in bunny-2.6.4

- old
+ new

@@ -95,9 +95,15 @@ super("Trying to send frame through a closed connection. Frame is #{frame.inspect}") end end end + class ConnectionAlreadyClosed < Exception + def initialize + super('Connection has been already closed') + end + end + class ShutdownSignal < Exception end # Raised when RabbitMQ closes TCP connection before finishing connection # sequence properly. This typically indicates an authentication issue.