Files @ 12ca667b69b6
Branch filter:

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

Mads Kiilerich
api: don't report invalidated cache_keys after invalidating a repo

The keys are an implementation detail and is never relevant outside RhodeCode
internals and should not be leaked.


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