Files @ 405b1170f577
Branch filter:

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

Marcin Kuzminski
fixed readme rendering bug.
when there existed a directory named like dicovery file for readme, it crashed trying to read it's content. We just skip them now


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