Exception: SSHProcessFailed
- Inherits:
-
StandardError
- Object
- StandardError
- SSHProcessFailed
- Defined in:
- lib/rbbt/util/misc/exceptions.rb
Instance Attribute Summary collapse
-
#cmd ⇒ Object
Returns the value of attribute cmd.
-
#host ⇒ Object
Returns the value of attribute host.
Instance Method Summary collapse
-
#initialize(host, cmd) ⇒ SSHProcessFailed
constructor
A new instance of SSHProcessFailed.
Constructor Details
#initialize(host, cmd) ⇒ SSHProcessFailed
Returns a new instance of SSHProcessFailed.
33 34 35 36 37 38 |
# File 'lib/rbbt/util/misc/exceptions.rb', line 33 def initialize(host, cmd) @host = host @cmd = cmd = "SSH server #{host} failed cmd '#{cmd}'" super() end |
Instance Attribute Details
#cmd ⇒ Object
Returns the value of attribute cmd.
32 33 34 |
# File 'lib/rbbt/util/misc/exceptions.rb', line 32 def cmd @cmd end |
#host ⇒ Object
Returns the value of attribute host.
32 33 34 |
# File 'lib/rbbt/util/misc/exceptions.rb', line 32 def host @host end |