You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/en/docs/tutorial/handling-errors.md
+1-3Lines changed: 1 addition & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -252,9 +252,7 @@ from starlette.exceptions import HTTPException as StarletteHTTPException
252
252
253
253
### Re-use **FastAPI**'s exception handlers
254
254
255
-
You could also just want to use the exception somehow, but then use the same default exception handlers from **FastAPI**.
256
-
257
-
You can import and re-use the default exception handlers from `fastapi.exception_handlers`:
255
+
If you want to use the exception along with the same default exception handlers from **FastAPI**, You can import and re-use the default exception handlers from `fastapi.exception_handlers`:
0 commit comments