comparison mercurial/error.py @ 32023:a29580905771

error: rename RichIOError to PeerTransportError This is a more descriptive name. RichIOError was introduced just hours ago, so it doesn't need to be marked as BC.
author Gregory Szorc <gregory.szorc@gmail.com>
date Sun, 16 Apr 2017 11:12:37 -0700
parents bf855efe5664
children 9c023179e8d0
comparison
equal deleted inserted replaced
32022:e5d7f99a3063 32023:a29580905771
251 """error raised when a bundle specification is not supported.""" 251 """error raised when a bundle specification is not supported."""
252 252
253 class CorruptedState(Exception): 253 class CorruptedState(Exception):
254 """error raised when a command is not able to read its state from file""" 254 """error raised when a command is not able to read its state from file"""
255 255
256 class RichIOError(Abort): 256 class PeerTransportError(Abort):
257 """An IOError that can also have a hint attached.""" 257 """Transport-level I/O error when communicating with a peer repo."""