equal
deleted
inserted
replaced
306 """Transport-level I/O error when communicating with a peer repo.""" |
306 """Transport-level I/O error when communicating with a peer repo.""" |
307 |
307 |
308 class InMemoryMergeConflictsError(Exception): |
308 class InMemoryMergeConflictsError(Exception): |
309 """Exception raised when merge conflicts arose during an in-memory merge.""" |
309 """Exception raised when merge conflicts arose during an in-memory merge.""" |
310 __bytes__ = _tobytes |
310 __bytes__ = _tobytes |
|
311 |
|
312 class WireprotoCommandError(Exception): |
|
313 """Represents an error during execution of a wire protocol command. |
|
314 |
|
315 Should only be thrown by wire protocol version 2 commands. |
|
316 |
|
317 The error is a formatter string and an optional iterable of arguments. |
|
318 """ |
|
319 def __init__(self, message, args=None): |
|
320 self.message = message |
|
321 self.messageargs = args |