~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: John Arbash Meinel
  • Date: 2006-07-06 16:29:12 UTC
  • mto: This revision was merged to the branch mainline in revision 1869.
  • Revision ID: john@arbash-meinel.com-20060706162912-1680b115cdb24071
[merge] Johan Rydberg test updates

Show diffs side-by-side

added added

removed removed

Lines of Context:
744
744
    pass
745
745
 
746
746
 
 
747
class InvalidRange(TransportError):
 
748
    """Invalid range access."""
 
749
    
 
750
    def __init__(self, path, offset):
 
751
        TransportError.__init__(self, ("Invalid range access in %s at %d"
 
752
                                       % (path, offset)))
 
753
 
 
754
 
747
755
class ConflictsInTree(BzrError):
748
756
    def __init__(self):
749
757
        BzrError.__init__(self, "Working tree has conflicts.")