In the documentation about Application Hooks https://docs.litestar.dev/2/usage/the-litestar-app.html#after-exception, you write:
The afterexception hook takes a sync or async callable that is called with three arguments: the exception that occurred, the ASGI scope of the request or websocket connection, and the application state.
However, the example function below has only two arguments (exc and scope) and the application state is accessed from scope["app"].state.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too