~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to errors.py

  • Committer: Aaron Bentley
  • Date: 2008-04-10 22:41:55 UTC
  • Revision ID: aaron@aaronbentley.com-20080410224155-wcevbg1c1p4bj8ym
Make patch a nice BzrError

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
    class CommandError(Exception):
28
28
        pass
29
29
 
30
 
class PatchFailed(Exception):
31
 
    """Failed applying patch!"""
 
30
class PatchFailed(BzrError):
 
31
 
 
32
    _fmt = """Patch application failed"""
32
33
 
33
34
 
34
35
class PatchInvokeError(BzrError):