Exception: Served::HTTPClient::ConnectionFailed
- Inherits:
-
Error
- Object
- StandardError
- Resource::Base::ServiceError
- Error
- Served::HTTPClient::ConnectionFailed
- Defined in:
- lib/served/http_client.rb
Instance Method Summary collapse
-
#initialize(resource) ⇒ ConnectionFailed
constructor
A new instance of ConnectionFailed.
Constructor Details
#initialize(resource) ⇒ ConnectionFailed
Returns a new instance of ConnectionFailed.
15 16 17 |
# File 'lib/served/http_client.rb', line 15 def initialize(resource) super "Resource '#{resource.name}' could not be reached on '#{resource.host}'" end |