Exception: Pocketknife::Error::NodeError::RsyncError
- Inherits:
-
Pocketknife::Error::NodeError
- Object
- StandardError
- Pocketknife::Error
- Pocketknife::Error::NodeError
- Pocketknife::Error::NodeError::RsyncError
- Defined in:
- lib/pocketknife/errors.rb
Overview
RsyncError
Exception raised if rsync command failed.
Instance Attribute Summary collapse
-
#command ⇒ String
Command that failed.
Attributes inherited from Pocketknife::Error::NodeError
Instance Method Summary collapse
-
#initialize(command, node) ⇒ RsyncError
constructor
A new instance of RsyncError.
Constructor Details
#initialize(command, node) ⇒ RsyncError
Returns a new instance of RsyncError.
59 60 61 |
# File 'lib/pocketknife/errors.rb', line 59 def initialize(command, node) super("Failed while rsyncing: #{command}", node) end |
Instance Attribute Details
#command ⇒ String
Returns Command that failed.
57 58 59 |
# File 'lib/pocketknife/errors.rb', line 57 def command @command end |