class StompPublisher::ConnectionError
Attributes
frame[RW]
Public Class Methods
new(msg, frame)
click to toggle source
Calls superclass method
# File lib/stomp_publisher/connection_error.rb, line 5 def initialize(msg, frame) self.frame = frame if (frame && frame.command == "ERROR" && !frame.body.nil? && frame.body.length > 0) msg = "%s: %s" % [ msg, frame.body ] end super(msg) end