/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/errors.py

  • Committer: Jelmer Vernooij
  • Date: 2017-07-24 01:09:25 UTC
  • mfrom: (6740 trunk)
  • mto: This revision was merged to the branch mainline in revision 6743.
  • Revision ID: jelmer@jelmer.uk-20170724010925-nted35vp0ufbs3p2
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
404
404
    _fmt = 'Permission denied: "%(path)s"%(extra)s'
405
405
 
406
406
 
407
 
class InvalidURL(PathError):
408
 
 
409
 
    _fmt = 'Invalid url supplied to transport: "%(path)s"%(extra)s'
410
 
 
411
 
 
412
 
class InvalidURLJoin(PathError):
413
 
 
414
 
    _fmt = "Invalid URL join request: %(reason)s: %(base)r + %(join_args)r"
415
 
 
416
 
    def __init__(self, reason, base, join_args):
417
 
        self.reason = reason
418
 
        self.base = base
419
 
        self.join_args = join_args
420
 
        PathError.__init__(self, base, reason)
421
 
 
422
 
 
423
 
class InvalidRebaseURLs(PathError):
424
 
 
425
 
    _fmt = "URLs differ by more than path: %(from_)r and %(to)r"
426
 
 
427
 
    def __init__(self, from_, to):
428
 
        self.from_ = from_
429
 
        self.to = to
430
 
        PathError.__init__(self, from_, 'URLs differ by more than path.')
431
 
 
432
 
 
433
407
class UnavailableRepresentation(InternalBzrError):
434
408
 
435
409
    _fmt = ("The encoding '%(wanted)s' is not available for key %(key)s which "