~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

Show diffs side-by-side

added added

removed removed

Lines of Context:
1672
1672
        TransportError.__init__(self, msg, orig_error=orig_error)
1673
1673
 
1674
1674
 
 
1675
class CertificateError(TransportError):
 
1676
 
 
1677
    _fmt = "Certificate error: %(error)s"
 
1678
 
 
1679
    def __init__(self, error):
 
1680
        self.error = error
 
1681
 
 
1682
 
1675
1683
class InvalidHttpRange(InvalidHttpResponse):
1676
1684
 
1677
1685
    _fmt = "Invalid http range %(range)r for %(path)s: %(msg)s"