Files @ 37945c6a7dbd
Branch filter:

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

Marcin Kuzminski
don't use db-repo instance on readme file fetching, use regular scm get_repo that doesn't hide exceptions


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