Files @ 189ce0d7b7c6
Branch filter:

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

Mads Kiilerich
hg: improve 'Such branch %s does not exists' message


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