~jamesh/bzr/pending-revprops

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: James Henstridge
  • Date: 2006-09-07 09:24:48 UTC
  • mfrom: (1979.1.10 +trunk)
  • Revision ID: james@jamesh.id.au-20060907092448-67111a2cdba7cfe6
merge from bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
795
795
 
796
796
 
797
797
class InvalidRange(TransportError):
798
 
    """Invalid range access."""
 
798
    """Invalid range access in %(path)s at %(offset)s."""
799
799
    
800
800
    def __init__(self, path, offset):
801
801
        TransportError.__init__(self, ("Invalid range access in %s at %d"
802
802
                                       % (path, offset)))
 
803
        self.path = path
 
804
        self.offset = offset
803
805
 
804
806
 
805
807
class InvalidHttpResponse(TransportError):
967
969
        DependencyNotPresent.__init__(self, 'paramiko', error)
968
970
 
969
971
 
 
972
class PointlessMerge(BzrNewError):
 
973
    """Nothing to merge."""
 
974
 
 
975
 
970
976
class UninitializableFormat(BzrNewError):
971
977
    """Format %(format)s cannot be initialised by this version of bzr."""
972
978