Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Hafner (0.47 sec)

  1. docs/en/docs/release-notes.md

        item = data[item_id]
        if item["owner"] != username:
            raise OwnerError(username)
        return item
    ```
    
    ---
    
    Before FastAPI 0.106.0, raising exceptions after `yield` was not possible, the exit code in dependencies with `yield` was executed *after* the response was sent, so [Exception Handlers](https://fastapi.tiangolo.com/tutorial/handling-errors/#install-custom-exception-handlers) would have already run.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Apr 28 00:28:00 GMT 2024
    - 385.5K bytes
    - Viewed (1)
Back to top