MCPcopy Create free account
hub / github.com/pallets/quart / _handle_exception

Function _handle_exception

src/quart/asgi.py:404–408  ·  view source on GitHub ↗
(app: Quart, error: Exception)

Source from the content-addressed store, hash-verified

402
403
404async def _handle_exception(app: Quart, error: Exception) -> Response:
405 if not app.testing and app.config["PROPAGATE_EXCEPTIONS"]:
406 return await traceback_response(error)
407 else:
408 raise error

Callers 3

test__handle_exceptionFunction · 0.90
handle_requestMethod · 0.85
handle_websocketMethod · 0.85

Calls 1

traceback_responseFunction · 0.85

Tested by 1

test__handle_exceptionFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…