(websocket: WebSocket, exc: CustomError)
| 260 | """ |
| 261 | |
| 262 | async def custom_handler(websocket: WebSocket, exc: CustomError) -> None: |
| 263 | await websocket.close(1002, "foo") |
| 264 | |
| 265 | myapp = make_app(exception_handlers={CustomError: custom_handler}) |
| 266 | client = TestClient(myapp) |
nothing calls this directly
no test coverage detected
searching dependent graphs…