##// END OF EJS Templates
dependencies: bumped pyramid to 1.9 webob to 1.7.3 and webtest to 2.0.27...
dependencies: bumped pyramid to 1.9 webob to 1.7.3 and webtest to 2.0.27 - fixed some core tests for new webob/webtest - changed core methods to make them more pyramid compat.

File last commit:

r1:854a839a default
r1906:1eaf71e3 default
Show More
exceptions.py
13 lines | 246 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.
"""