(request: Request, exc: HTTPException)
| 30 | |
| 31 | |
| 32 | async def method_not_allowed(request: Request, exc: HTTPException) -> JSONResponse: |
| 33 | return JSONResponse({class="st">"detail": class="st">"Custom message"}, status_code=405) |
| 34 | |
| 35 | |
| 36 | async def http_exception(request: Request, exc: HTTPException) -> JSONResponse: |
nothing calls this directly
no test coverage detected