Exception: Lackie::ConnectionError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Lackie::ConnectionError
- Defined in:
- lib/lackie/remote_control.rb
Instance Method Summary collapse
-
#initialize(url, inner) ⇒ ConnectionError
constructor
A new instance of ConnectionError.
- #message ⇒ Object
Constructor Details
#initialize(url, inner) ⇒ ConnectionError
Returns a new instance of ConnectionError.
75 76 77 |
# File 'lib/lackie/remote_control.rb', line 75 def initialize(url, inner) @url, @inner = url, inner end |
Instance Method Details
#message ⇒ Object
79 80 81 82 |
# File 'lib/lackie/remote_control.rb', line 79 def "Failed to send command to #{@url} - " + "have you started a lackie server?\n#{@inner.}" end |