Exception: Stomp::Error::ServerFrameNameError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/stomp/errors.rb

Overview

ServerFrameNameError is raised if:

  • Invalid frame is received from the Stomp server.

Instance Method Summary collapse

Constructor Details

#initialize(bf) ⇒ ServerFrameNameError

Returns a new instance of ServerFrameNameError.



190
191
192
# File 'lib/stomp/errors.rb', line 190

def initialize(bf)
  @bf = bf
end

Instance Method Details

#messageObject



193
194
195
# File 'lib/stomp/errors.rb', line 193

def message
  "Connected, server frame name error: #{@bf.inspect}"
end