Exception: SockJS::CloseError
- Inherits:
-
StandardError
- Object
- StandardError
- SockJS::CloseError
- Defined in:
- lib/sockjs.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(status, message) ⇒ CloseError
constructor
A new instance of CloseError.
Constructor Details
#initialize(status, message) ⇒ CloseError
Returns a new instance of CloseError.
42 43 44 |
# File 'lib/sockjs.rb', line 42 def initialize(status, ) @status, @message = status, end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
41 42 43 |
# File 'lib/sockjs.rb', line 41 def @message end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
41 42 43 |
# File 'lib/sockjs.rb', line 41 def status @status end |