def connection_dropped(
        self, error: BaseException, environ: WSGIEnvironment | None = None
    ) -> None:
        """Called if the connection was closed by the client.  By default
        nothing happens.
        """
Called if the connection was closed by the client.  By default
        nothing happens.
        
src/werkzeug/serving.py