##// END OF EJS Templates
auto white-space removal
auto white-space removal

File last commit:

r1818:cf51bbfb beta
r1818:cf51bbfb beta
Show More
exceptions.py
11 lines | 244 B | text/x-python | PythonLexer
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.
"""