lib/bunny/exceptions.rb in bunny-0.10.8 vs lib/bunny/exceptions.rb in bunny-1.0.0.pre1

- old
+ new

@@ -53,11 +53,11 @@ when String then e when Exception then e.message end - super("Could not establish TCP connection to #{hostname}:#{port}: #{m}") + super("Could not estabilish TCP connection to #{hostname}:#{port}: #{m}") end end # Raised when a frame is sent over an already closed connection class ConnectionClosedError < Exception @@ -66,12 +66,9 @@ super("Trying to send frame through a closed connection. Frame is #{frame.inspect}, method class is #{frame.method_class}") else super("Trying to send frame through a closed connection. Frame is #{frame.inspect}") end end - end - - class ShutdownSignal < Exception end # Raised when RabbitMQ closes TCP connection before finishing connection # sequence properly. This typically indicates an authentication issue. class PossibleAuthenticationFailureError < Exception