~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-01-17 18:41:07 UTC
  • mfrom: (2221.4.9 registryoption)
  • Revision ID: pqm@pqm.ubuntu.com-20070117184107-a6267599a6b636f1
Add RegistryOption, use for directory format

Show diffs side-by-side

added added

removed removed

Lines of Context:
294
294
 
295
295
    _fmt = "Error in command line options"
296
296
 
 
297
 
 
298
class BadOptionValue(BzrError):
 
299
 
 
300
    _fmt = """Bad value "%(value)s" for option "%(name)s"."""
 
301
 
 
302
    def __init__(self, name, value):
 
303
        BzrError.__init__(self, name=name, value=value)
 
304
 
297
305
    
298
306
class StrictCommitFailed(BzrError):
299
307