~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to errors.py

  • Committer: Aaron Bentley
  • Date: 2006-11-22 13:08:43 UTC
  • Revision ID: aaron.bentley@utoronto.ca-20061122130843-4eaenjjvsrkk564v
Get encoding working

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
class PatchFailed(Exception):
28
28
    """Failed applying patch!"""
29
29
 
 
30
 
 
31
class NoColor(Exception):
 
32
    """Color not available on this terminal."""
 
33
 
 
34
 
 
35
class NoBzrtoolsColor(Exception):
 
36
    """Bzrtools is required for color display"""
 
37
 
 
38
 
30
39
class NotCheckout(CommandError):
31
40
    """Specified path is not a checkout."""
32
41
    def __init__(self, path):