~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Robert Collins
  • Date: 2005-09-29 02:55:34 UTC
  • mfrom: (1185.1.47)
  • mto: This revision was merged to the branch mainline in revision 1397.
  • Revision ID: robertc@robertcollins.net-20050929025534-1782933743abbfd5
update with integration

Show diffs side-by-side

added added

removed removed

Lines of Context:
152
152
    def __init__(self, branch):
153
153
        msg = "Branch %s has no commits." % branch
154
154
        BzrError.__init__(self, msg)
 
155
 
 
156
class UnlistableStore(BzrError):
 
157
    def __init__(self, store):
 
158
        BzrError.__init__(self, "Store %s is not listable" % store)
 
159
 
 
160
class UnlistableBranch(BzrError):
 
161
    def __init__(self, br):
 
162
        BzrError.__init__(self, "Stores for branch %s are not listable" % br)