view rhodecode/lib/rcmail/exceptions.py @ 3334:968b28545f93 beta

fixed description of update-repoinfo command
author Marcin Kuzminski <marcin@python-works.com>
date Fri, 08 Feb 2013 19:08:52 +0100
parents 349a0ca30a75
children
line wrap: on
line source



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