- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for read_unicorn (0.06 seconds)
-
docs_src/handling_errors/tutorial003_py310.py
return JSONResponse( status_code=418, content={"message": f"Oops! {exc.name} did something. There goes a rainbow..."}, ) @app.get("/unicorns/{name}") async def read_unicorn(name: str): if name == "yolo": raise UnicornException(name=name)
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 626 bytes - Click Count (0)