##// END OF EJS Templates
core: no longer rely on webob exception inside get_or_404 function....
core: no longer rely on webob exception inside get_or_404 function. - relly on pyramid exc only - helps reduce number of appenlight problems with 404 handling via webob

File last commit:

r1:854a839a default
r1956:a7a935de 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.
"""