Class: SSHKit::Runner::ExecuteError
- Inherits:
-
StandardError
- Object
- SSHKit::Runner::ExecuteError
- Defined in:
- lib/sshkit/exception.rb
Instance Attribute Summary collapse
-
#cause ⇒ Object
readonly
Returns the value of attribute cause.
Instance Method Summary collapse
-
#initialize(cause) ⇒ ExecuteError
constructor
A new instance of ExecuteError.
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
#cause ⇒ Object (readonly)
Returns the value of attribute cause.
6 7 8 |
# File 'lib/sshkit/exception.rb', line 6 def cause @cause end |