Class: SSHKit::Runner::ExecuteError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/sshkit/exception.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(cause) ⇒ ExecuteError

Returns a new instance of ExecuteError


8
9
10
# File 'lib/sshkit/exception.rb', line 8

def initialize cause
  @cause = cause
end

Instance Attribute Details

#causeObject (readonly)

Returns the value of attribute cause


6
7
8
# File 'lib/sshkit/exception.rb', line 6

def cause
  @cause
end