Files @ c137b8a81f8e
Branch filter:

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

Marcin Kuzminski
git+hg middleware do repo verification at earliest possible state, giving 404 as fast as possible. If repo is not found.


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