Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/fastapi/fastapi
/ route_with_http_exception
Function
route_with_http_exception
tests/test_exception_handlers.py:44–45 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
42
43
@app.get(
"/http-exception"
)
44
def
route_with_http_exception():
45
raise
HTTPException(status_code=400)
46
47
48
@app.get(
"/request-validation/{param}/"
)
Callers
nothing calls this directly
Calls
1
HTTPException
Class · 0.90
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…