(req_id: str, stage: str = "")
| 16 | |
| 17 | |
| 18 | def client_disconnected(req_id: str, stage: str = "") -> HTTPException: |
| 19 | suffix = f" during {stage}" if stage else "" |
| 20 | return http_error(499, f"[{req_id}] Client disconnected{suffix}.") |
| 21 | |
| 22 | |
| 23 | def processing_timeout( |