~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Robert Collins
  • Date: 2005-10-08 00:50:43 UTC
  • mfrom: (1185.1.53)
  • Revision ID: robertc@robertcollins.net-20051008005043-a6657ae397750425
merge in UnsupportedFormatError feature

Show diffs side-by-side

added added

removed removed

Lines of Context:
65
65
        return 'not a branch: %s' % self.args[0]
66
66
 
67
67
 
 
68
class UnsupportedFormatError(BzrError):
 
69
    """Specified path is a bzr branch that we cannot read."""
 
70
    def __str__(self):
 
71
        return 'unsupported branch format: %s' % self.args[0]
 
72
 
 
73
 
68
74
class NotVersionedError(BzrError):
69
75
    """Specified object is not versioned."""
70
76