Files @ ad49bbd8f984
Branch filter:

Location: kallithea/rhodecode/lib/rcmail/exceptions.py

Bradley M. Kuhn
changelog - should refer to Mercurial repository logs instead


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.
    """