Exception: JenkinsShell::Error::ConnectionRefused

Inherits:
JenkinsShell::Error show all
Defined in:
lib/jenkins_shell/error/connection_refused.rb

Instance Method Summary collapse

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