~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Jelmer Vernooij
  • Date: 2012-02-06 23:38:33 UTC
  • mfrom: (6463 +trunk)
  • mto: This revision was merged to the branch mainline in revision 6464.
  • Revision ID: jelmer@samba.org-20120206233833-w0nbclw7d1xj4twj
merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1761
1761
 
1762
1762
class ConfigOptionValueError(BzrError):
1763
1763
 
1764
 
    _fmt = """Bad value "%(value)s" for option "%(name)s"."""
 
1764
    _fmt = ('Bad value "%(value)s" for option "%(name)s".\n'
 
1765
            'See ``bzr help %(name)s``')
1765
1766
 
1766
1767
    def __init__(self, name, value):
1767
1768
        BzrError.__init__(self, name=name, value=value)
2767
2768
    _fmt = "No mail-to address (--mail-to) or output (-o) specified."
2768
2769
 
2769
2770
 
2770
 
class UnknownMailClient(BzrError):
2771
 
 
2772
 
    _fmt = "Unknown mail client: %(mail_client)s"
2773
 
 
2774
 
    def __init__(self, mail_client):
2775
 
        BzrError.__init__(self, mail_client=mail_client)
2776
 
 
2777
 
 
2778
2771
class MailClientNotFound(BzrError):
2779
2772
 
2780
2773
    _fmt = "Unable to find mail client with the following names:"\