Exception: Lackie::ConnectionError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/lackie/remote_control.rb

Instance Method Summary collapse

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

#messageObject



79
80
81
82
# File 'lib/lackie/remote_control.rb', line 79

def message
  "Failed to send command to #{@url} - " +
  "have you started a lackie server?\n#{@inner.message}"
end