Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for clauses (0.28 sec)

  1. docs/pt/docs/tutorial/handling-errors.md

        "size": "XL"
      }
    }
    ```
    
    #### O `HTTPException` do FastAPI vs o `HTTPException` do Starlette.
    
    O **FastAPI** tem o seu próprio `HTTPException`.
    
    E a classe de erro `HTTPException` do **FastAPI** herda da classe de erro do `HTTPException` do Starlette.
    
    A diferença entre os dois é a de que o `HTTPException` do **FastAPI** permite que você adicione *headers* que serão incluídos nas *responses*.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 10K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/handling-errors.md

    !!! warning
        These are technical details that you might skip if it's not important for you now.
    
    `RequestValidationError` is a sub-class of Pydantic's <a href="https://docs.pydantic.dev/latest/concepts/models/#error-handling" class="external-link" target="_blank">`ValidationError`</a>.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.1K bytes
    - Viewed (0)
Back to top