diff --git a/fastapi/exceptions.py b/fastapi/exceptions.py index 1a3abd80c..773b83857 100644 --- a/fastapi/exceptions.py +++ b/fastapi/exceptions.py @@ -41,6 +41,7 @@ class HTTPException(StarletteHTTPException): return {"item": items[item_id]} ``` """ + detail: Any def __init__( self,