Files @ 13241a4075e9
Branch filter:

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

Marcin Kuzminski
Unified the paginators for pylons and YUI.
- YUI based paginators now behave more like the ones generated with pylons
- introduced new custom pylons paginator for customizations needed to unify both


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