Exception: LSync::ShellScriptError
- 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(script, return_code) ⇒ ShellScriptError
constructor
A new instance of ShellScriptError.
Methods inherited from Error
Constructor Details
#initialize(script, return_code) ⇒ ShellScriptError
Returns a new instance of ShellScriptError.
48 49 50 |
# File 'lib/lsync/error.rb', line 48 def initialize(script, return_code) super("Shell script #{script} failed", :return_code => return_code) end |