~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Robert Collins
  • Date: 2005-10-10 23:18:27 UTC
  • mfrom: (1437)
  • mto: This revision was merged to the branch mainline in revision 1438.
  • Revision ID: robertc@robertcollins.net-20051010231827-f9e2dda2e92bf565
mergeĀ fromĀ upstream

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
 
197
203
        BzrError.__init__(self, "Stores for branch %s are not listable" % br)
198
204
 
199
205
 
200
 
from bzrlib.weave import WeaveError
 
206
from bzrlib.weave import WeaveError, WeaveParentMismatch
201
207
 
202
208
class TransportError(BzrError):
203
209
    """All errors thrown by Transport implementations should derive