Exception: Stomp::Error::ServerFrameNameError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Stomp::Error::ServerFrameNameError
- Defined in:
- lib/stomp/errors.rb
Overview
ServerFrameNameError is raised if:
-
Invalid frame is received from the Stomp server.
Instance Method Summary collapse
-
#initialize(bf) ⇒ ServerFrameNameError
constructor
A new instance of ServerFrameNameError.
- #message ⇒ Object
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
#message ⇒ Object
193 194 195 |
# File 'lib/stomp/errors.rb', line 193 def "Connected, server frame name error: #{@bf.inspect}" end |