Checks if an HTTP exception should be trapped or not. By default this will return
Falsefor all exceptions except for a bad request key error if
TRAP_BAD_REQUEST_ERRORSis set to
True. It also returns
TRAP_HTTP_EXCEPTIONSis set to
This is called for all HTTP exceptions raised by a view function. If it returns
Truefor any exception the error handler for this exception is not called and it shows up as regular exception in the traceback. This is helpful for debugging implicitly raised HTTP exceptions.
New in version 0.8.