/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Robert Collins
  • Date: 2007-07-12 15:47:29 UTC
  • mto: (2592.5.3 pack-repository)
  • mto: This revision was merged to the branch mainline in revision 2624.
  • Revision ID: robertc@robertcollins.net-20070712154729-ln0fpixap5lkcnsj
Make validate detect node reference parsing errors.

Show diffs side-by-side

added added

removed removed

Lines of Context:
353
353
        self._type = _type
354
354
 
355
355
 
 
356
class BadIndexOptions(BzrError):
 
357
 
 
358
    _fmt = "Could not parse options for index %(value)s."
 
359
 
 
360
    def __init__(self, value):
 
361
        BzrError.__init__(self)
 
362
        self.value = value
 
363
 
 
364
 
356
365
class BadOptionValue(BzrError):
357
366
 
358
367
    _fmt = """Bad value "%(value)s" for option "%(name)s"."""