Exception: WT::ConnectionFailedException
- Inherits:
-
NetworkIssueException
- Object
- Exception
- NetworkIssueException
- WT::ConnectionFailedException
- Defined in:
- lib/request.rb
Instance Attribute Summary
Attributes inherited from NetworkIssueException
Instance Method Summary collapse
-
#initialize(host, port = 80) ⇒ ConnectionFailedException
constructor
A new instance of ConnectionFailedException.
Constructor Details
#initialize(host, port = 80) ⇒ ConnectionFailedException
Returns a new instance of ConnectionFailedException.
163 164 165 |
# File 'lib/request.rb', line 163 def initialize(host, port = 80) super("Could not connect to host: #{host}", host, port) end |