Exception: JenkinsShell::Error::ConnectionRefused
- Inherits:
-
JenkinsShell::Error
- Object
- RuntimeError
- JenkinsShell::Error
- JenkinsShell::Error::ConnectionRefused
- Defined in:
- lib/jenkins_shell/error/connection_refused.rb
Instance Method Summary collapse
-
#initialize(host, port) ⇒ ConnectionRefused
constructor
A new instance of ConnectionRefused.
Constructor Details
#initialize(host, port) ⇒ ConnectionRefused
Returns a new instance of ConnectionRefused.
2 3 4 |
# File 'lib/jenkins_shell/error/connection_refused.rb', line 2 def initialize(host, port) super("Connection to #{host}:#{port} refused") end |