~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Robert Collins
  • Date: 2007-10-15 05:23:29 UTC
  • mfrom: (2906 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2907.
  • Revision ID: robertc@robertcollins.net-20071015052329-z5458xq9q2kq72mv
Merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
2350
2350
    _fmt = "Message does not have a destination address."
2351
2351
 
2352
2352
 
 
2353
class RepositoryDataStreamError(BzrError):
 
2354
 
 
2355
    _fmt = "Corrupt or incompatible data stream: %(reason)s"
 
2356
 
 
2357
    def __init__(self, reason):
 
2358
        self.reason = reason
 
2359
 
 
2360
 
2353
2361
class SMTPError(BzrError):
2354
2362
 
2355
2363
    _fmt = "SMTP error: %(error)s"