Files @ 766696ee9487
Branch filter:

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

Tony Bussieres
let the is_git method exists so it is more similar to the hg backend.


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