Exception: StompOut::ApplicationError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- StompOut::ApplicationError
- Defined in:
- lib/stomp_out/errors.rb
Overview
Exception for application level STOMP protocol violations, i.e., for any additional rules that the application applying STOMP imposes
Instance Attribute Summary collapse
-
#frame ⇒ Object
readonly
- Frame, NilClass
-
Frame for which error occurred.
Instance Method Summary collapse
-
#initialize(message, frame = nil) ⇒ ApplicationError
constructor
Create exception.
Constructor Details
#initialize(message, frame = nil) ⇒ ApplicationError
Create exception
60 61 62 63 |
# File 'lib/stomp_out/errors.rb', line 60 def initialize(, frame = nil) @frame = frame super() end |
Instance Attribute Details
#frame ⇒ Object (readonly)
- Frame, NilClass
-
Frame for which error occurred
54 55 56 |
# File 'lib/stomp_out/errors.rb', line 54 def frame @frame end |