def __call__(self, environ, start_response):
        """Handle exceptions while processing a WSGI request."""
        return _TrappedResponse(
            self.nextapp,
            environ,
            start_response,
            self.throws,
        )
Handle exceptions while processing a WSGI request.
cherrypy/_cpwsgi.py