~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

Merge bzr.dev and tree-file-ids-as-tuples.

Show diffs side-by-side

added added

removed removed

Lines of Context:
700
700
       self.path = urlutils.unescape_for_display(branch.base, 'ascii')
701
701
 
702
702
 
 
703
class AlreadyControlDirError(PathError):
 
704
 
 
705
    _fmt = 'A control directory already exists: "%(path)s".'
 
706
 
 
707
 
703
708
class AlreadyBranchError(PathError):
704
709
 
705
710
    _fmt = 'Already a branch: "%(path)s".'
1667
1672
        TransportError.__init__(self, msg, orig_error=orig_error)
1668
1673
 
1669
1674
 
 
1675
class CertificateError(TransportError):
 
1676
 
 
1677
    _fmt = "Certificate error: %(error)s"
 
1678
 
 
1679
    def __init__(self, error):
 
1680
        self.error = error
 
1681
 
 
1682
 
1670
1683
class InvalidHttpRange(InvalidHttpResponse):
1671
1684
 
1672
1685
    _fmt = "Invalid http range %(range)r for %(path)s: %(msg)s"