view rhodecode/lib/rcmail/exceptions.py @ 2887:b78e6f7f3ab9 beta

Change the translated term for 'fork', its now translated as '复刻'. (Thanks Hanlei Qin <qinhanlei@gmail.com>)
author xpol
date Tue, 02 Oct 2012 13:48:03 +0800
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.
    """