Exception: LSync::CommandFailure
- Defined in:
- lib/lsync/error.rb
Overview
Indicates that a backup action shell script has failed.
Instance Attribute Summary
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(command, status) ⇒ CommandFailure
constructor
A new instance of CommandFailure.
Methods inherited from Error
Constructor Details
#initialize(command, status) ⇒ CommandFailure
Returns a new instance of CommandFailure.
52 53 54 |
# File 'lib/lsync/error.rb', line 52 def initialize(command, status) super("Command #{command.inspect} failed with exit status #{status}", :command => command, :status => status) end |