2015-04-10 | Paul Boddie | raw files shortlog changelog graph | Reinstated an accidentally-removed exception. | gpgutils |
MoinMessage.py (file) |
1.1 --- a/MoinMessage.py Mon Apr 06 19:05:50 2015 +0200 1.2 +++ b/MoinMessage.py Fri Apr 10 17:21:27 2015 +0200 1.3 @@ -146,6 +146,12 @@ 1.4 MoinMessageMissingPart = GPGMissingPart 1.5 MoinMessageBadContent = GPGBadContent 1.6 1.7 +class MoinMessageTransferError(MoinMessageError): 1.8 + def __init__(self, code, message, body): 1.9 + MoinMessageError.__init__(self, message) 1.10 + self.code = code 1.11 + self.body = body 1.12 + 1.13 # Communications functions. 1.14 1.15 def timestamp(message):