Methods

Class/Module Index [+]

Quicksearch

Bunny::ConnectionClosedError

Raised when a frame is sent over an already closed connection

Public Class Methods

new(frame) click to toggle source
# File lib/bunny/exceptions.rb, line 64
def initialize(frame)
  if frame.respond_to?(:method_class)
    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

[Validate]

Generated with the Darkfish Rdoc Generator 2.