Files @ c32322126fe4
Branch filter:

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

Simon Lopez
Repo type can't be changed. Fixes issue 836


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