~ddormer/renamer/1125067-add-prepare-method

« back to all changes in this revision

Viewing changes to renamer/errors.py

  • Committer: Jonathan Jacobs
  • Date: 2010-10-24 17:41:36 UTC
  • mfrom: (83.2.23 undo-command)
  • Revision ID: korpse@slipgate.za.net-20101024174136-geqsnh247drgj5hu
Merge lp:~renamer-developers/renamer/undo-command.

Implement persistent history of Renamer actions and undoing them.

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
    """
10
10
    An attempt to move a file to a different logical device was made.
11
11
    """
 
12
 
 
13
 
 
14
 
 
15
class NoSuchAction(ValueError):
 
16
    """
 
17
    An invalid or unknown action name was specified.
 
18
    """
 
19
 
 
20
 
 
21
 
 
22
class NoClobber(RuntimeError):
 
23
    """
 
24
    A destination file already exists.
 
25
    """