~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Aaron Bentley
  • Date: 2007-01-05 21:24:29 UTC
  • mto: This revision was merged to the branch mainline in revision 2240.
  • Revision ID: abentley@panoramicfeedback.com-20070105212429-t77373aek2v2nuvh
Get registry options working

Show diffs side-by-side

added added

removed removed

Lines of Context:
288
288
 
289
289
    _fmt = "Error in command line options"
290
290
 
 
291
 
 
292
class BadOptionParam(BzrError):
 
293
 
 
294
    _fmt = """Bad parameter %(value)s for option %(name)s"""
 
295
 
 
296
    def __init__(self, name, value):
 
297
        BzrError.__init__(self, name=name, value=value)
 
298
 
291
299
    
292
300
class StrictCommitFailed(BzrError):
293
301