view rhodecode/lib/rcmail/exceptions.py @ 3407:6354556781ef beta

update unionrepo for Mercurial 2.5.1
author Mads Kiilerich <madski@unity3d.com>
date Wed, 27 Feb 2013 01:26:38 +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.
    """