Files @ 3761a66b8add
Branch filter:

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

Mads Kiilerich
pullrequests: handle the case where no matching revisions are found for either end

Use -1 as default revision - that is the null revision.


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