Files @ 64e91067b996
Branch filter:

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

Marcin Kuzminski
- refactoring to overcome poor usage of global pylons config
- db transaction fixes
- fixed tests
- garden

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