Mercurial > kallithea
view rhodecode/lib/rcmail/exceptions.py @ 3574:000653f7cdf9 beta
avoid displaying repr of internal classes in user facing messages
The context of the message will tell where the problem was and there is no reason to show
... does not exist for this repository <MercurialRepository at /home/marcink/repos/rhodecode>
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Thu, 21 Mar 2013 11:17:01 +0100 |
parents | 349a0ca30a75 |
children |
line wrap: on
line source
class InvalidMessage(RuntimeError): """ Raised if message is missing vital headers, such as recipients or sender address. """ class BadHeaders(RuntimeError): """ Raised if message contains newlines in headers. """