Exception: Kdeploy::SSHError
- Defined in:
- lib/kdeploy/errors.rb
Overview
Raised when SSH operation fails
Instance Attribute Summary collapse
-
#original_error ⇒ Object
readonly
Returns the value of attribute original_error.
Instance Method Summary collapse
-
#initialize(message, original_error = nil) ⇒ SSHError
constructor
A new instance of SSHError.
Constructor Details
#initialize(message, original_error = nil) ⇒ SSHError
Returns a new instance of SSHError.
23 24 25 26 |
# File 'lib/kdeploy/errors.rb', line 23 def initialize(, original_error = nil) super("SSH operation failed: #{message}") @original_error = original_error end |
Instance Attribute Details
#original_error ⇒ Object (readonly)
Returns the value of attribute original_error.
28 29 30 |
# File 'lib/kdeploy/errors.rb', line 28 def original_error @original_error end |