~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Robert Collins
  • Date: 2007-06-28 02:43:50 UTC
  • mfrom: (2553 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2558.
  • Revision ID: robertc@robertcollins.net-20070628024350-z8bdm0y6yz2uyf4o
Merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2136
2136
 
2137
2137
    def __init__(self, response_tuple):
2138
2138
        self.response_tuple = response_tuple
 
2139
 
 
2140
 
 
2141
class NoDestinationAddress(BzrError):
 
2142
 
 
2143
    _fmt = "Message does not have a destination address."
 
2144
 
 
2145
    internal_error = True
 
2146
 
 
2147
 
 
2148
class SMTPError(BzrError):
 
2149
 
 
2150
    _fmt = "SMTP error: %(error)s"
 
2151
 
 
2152
    def __init__(self, error):
 
2153
        self.error = error