Exception: RHC::SSHConnectionRefused
- Inherits:
-
ConnectionFailed
- Object
- StandardError
- Exception
- ConnectionFailed
- RHC::SSHConnectionRefused
- Defined in:
- lib/rhc/exceptions.rb
Instance Attribute Summary
Attributes inherited from Exception
Instance Method Summary collapse
-
#initialize(host, user) ⇒ SSHConnectionRefused
constructor
A new instance of SSHConnectionRefused.
Constructor Details
#initialize(host, user) ⇒ SSHConnectionRefused
Returns a new instance of SSHConnectionRefused.
187 188 189 |
# File 'lib/rhc/exceptions.rb', line 187 def initialize(host, user) super "The server #{host} refused a connection with user #{user}. The application may be unavailable.", 1 end |