Exception: Arke::Errors::ConnectionRefused

Inherits:
StandardError
  • Object
show all
Defined in:
lib/arke/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(host) ⇒ ConnectionRefused

Returns a new instance of ConnectionRefused.



19
20
21
22
# File 'lib/arke/errors.rb', line 19

def initialize(host)
  message = "There was an error connecting to the resource at #{host}"
  super message
end