~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 09:35:50 UTC
  • mfrom: (1185.1.47)
  • Revision ID: robertc@robertcollins.net-20050928093550-3ca194dfaffc79f1
merge from integration

Show diffs side-by-side

added added

removed removed

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