Exception: RHC::SSHCommandFailed
- Defined in:
- lib/rhc/exceptions.rb
Instance Attribute Summary
Attributes inherited from Exception
Instance Method Summary collapse
-
#initialize(exit_status, message = nil) ⇒ SSHCommandFailed
constructor
A new instance of SSHCommandFailed.
Constructor Details
#initialize(exit_status, message = nil) ⇒ SSHCommandFailed
Returns a new instance of SSHCommandFailed.
193 194 195 |
# File 'lib/rhc/exceptions.rb', line 193 def initialize(exit_status, =nil) super || "SSH command finished with exit status = #{exit_status}", 133 end |