Exception: LSync::CommandFailure

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(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