Exception: LSync::ShellScriptError

Inherits:
Error
  • Object
show all
Defined in:
lib/lsync/error.rb

Overview

Indicates that a backup action shell script has failed.

Instance Attribute Summary

Attributes inherited from Error

#components, #reason

Instance Method Summary collapse

Methods inherited from Error

#to_s

Constructor Details

#initialize(script, return_code) ⇒ ShellScriptError

Returns a new instance of ShellScriptError.



29
30
31
# File 'lib/lsync/error.rb', line 29

def initialize(script, return_code)
	super("Shell script #{script} failed", :return_code => return_code)
end