~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Robert Collins
  • Date: 2005-09-28 07:03:54 UTC
  • mfrom: (1185.10.7)
  • mto: (1092.2.19)
  • mto: This revision was merged to the branch mainline in revision 1391.
  • Revision ID: robertc@robertcollins.net-20050928070354-fb49ab0b2563d5b2
Aarons branch --basis patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
143
143
    def __init__(self, branch):
144
144
        msg = "Branch %s has no commits." % branch
145
145
        BzrError.__init__(self, msg)
 
146
 
 
147
class UnlistableStore(BzrError):
 
148
    def __init__(self, store):
 
149
        BzrError.__init__(self, "Store %s is not listable" % store)
 
150
 
 
151
class UnlistableBranch(BzrError):
 
152
    def __init__(self, br):
 
153
        BzrError.__init__(self, "Stores for branch %s are not listable" % br)