Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)
Returns a formatted page displaying the error to user

src/p/y/pyroutes-0.5.0/pyroutes/middleware/errors.py   pyroutes(Download)
            if settings.DEBUG:
                response = error.get_response(
                        request.ENV['PATH_INFO'],
                        description="%s: %s" % (exception.__class__.__name__,
                                            exception),
                        traceback=trace)
            else:
                response = error.get_response(request.ENV['PATH_INFO'])

src/p/y/pyroutes-HEAD/pyroutes/middleware/errors.py   pyroutes(Download)
            if settings.DEBUG:
                response = error.get_response(
                        request.ENV['PATH_INFO'],
                        description="%s: %s" % (exception.__class__.__name__,
                                            exception),
                        traceback=trace)
            else:
                response = error.get_response(request.ENV['PATH_INFO'])