Source code for pyramid_mailer.exceptions
[docs]class InvalidMessage(RuntimeError):
"""
Raised if message is missing vital headers, such
as recipients or sender address.
"""
class EncodingError(Exception):
"""Thrown when there is an encoding error."""
pass