Exception: SSH::CommandFailedError

Inherits:
Error
  • Object
show all
Defined in:
lib/ssh.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(status) ⇒ CommandFailedError

Returns a new instance of CommandFailedError.



22
23
24
# File 'lib/ssh.rb', line 22

def initialize status
  @status = status
end

Instance Attribute Details

#statusObject (readonly)

Returns the value of attribute status.



21
22
23
# File 'lib/ssh.rb', line 21

def status
  @status
end