Glossary: Building APIs with FastAPI
HTTPException
A FastAPI exception you `raise` with a `status_code` and `detail`. FastAPI stops your function and sends the error as JSON.
Glossary: Building APIs with FastAPI
A FastAPI exception you `raise` with a `status_code` and `detail`. FastAPI stops your function and sends the error as JSON.