Exception: RHC::SSHCommandFailed

Inherits:
Exception show all
Defined in:
lib/rhc/exceptions.rb

Instance Attribute Summary

Attributes inherited from Exception

#code

Instance Method Summary collapse

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, message=nil)
  super message || "SSH command finished with exit status = #{exit_status}", 133
end