(websocket: WebSocket)
| 79 | |
| 80 | |
| 81 | async def websocket_raise_http_exception(websocket: WebSocket) -> None: |
| 82 | raise HTTPException(status_code=401, detail="Unauthorized") |
| 83 | |
| 84 | |
| 85 | class CustomWSException(Exception): |
nothing calls this directly
no test coverage detected