Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 27 of 27 for RequestValidationError (0.08 sec)

  1. docs/es/docs/how-to/custom-request-and-route.md

    /// tip | Consejo
    
    Para resolver este mismo problema, probablemente sea mucho más fácil usar el `body` en un manejador personalizado para `RequestValidationError` ([Manejo de Errores](../tutorial/handling-errors.md#use-the-requestvalidationerror-body){.internal-link target=_blank}).
    
    Pero este ejemplo sigue siendo válido y muestra cómo interactuar con los componentes internos.
    
    ///
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 5K bytes
    - Viewed (0)
  2. docs/de/docs/how-to/custom-request-and-route.md

    /// tip | Tipp
    
    Um dasselbe Problem zu lösen, ist es wahrscheinlich viel einfacher, den `body` in einem benutzerdefinierten Handler für `RequestValidationError` zu verwenden ([Fehlerbehandlung](../tutorial/handling-errors.md#use-the-requestvalidationerror-body){.internal-link target=_blank}).
    
    Dieses Beispiel ist jedoch immer noch gültig und zeigt, wie mit den internen Komponenten interagiert wird.
    
    ///
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 10 13:54:34 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  3. docs/en/docs/how-to/custom-request-and-route.md

    /// tip
    
    To solve this same problem, it's probably a lot easier to use the `body` in a custom handler for `RequestValidationError` ([Handling Errors](../tutorial/handling-errors.md#use-the-requestvalidationerror-body){.internal-link target=_blank}).
    
    But this example is still valid and it shows how to interact with the internal components.
    
    ///
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 10 08:55:32 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  4. fastapi/exceptions.py

            for err in self._errors:
                message += f"  {err}\n"
            message += self._format_endpoint_context()
            return message.rstrip()
    
    
    class RequestValidationError(ValidationException):
        def __init__(
            self,
            errors: Sequence[Any],
            *,
            body: Any = None,
            endpoint_ctx: Optional[EndpointContext] = None,
        ) -> None:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  5. fastapi/routing.py

        solve_dependencies,
    )
    from fastapi.encoders import jsonable_encoder
    from fastapi.exceptions import (
        EndpointContext,
        FastAPIError,
        PydanticV1NotSupportedError,
        RequestValidationError,
        ResponseValidationError,
        WebSocketRequestValidationError,
    )
    from fastapi.types import DecoratedCallable, IncEx
    from fastapi.utils import (
        create_cloned_field,
        create_model_field,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 174.6K bytes
    - Viewed (0)
  6. fastapi/applications.py

    from fastapi.exception_handlers import (
        http_exception_handler,
        request_validation_exception_handler,
        websocket_request_validation_exception_handler,
    )
    from fastapi.exceptions import RequestValidationError, WebSocketRequestValidationError
    from fastapi.logger import logger
    from fastapi.middleware.asyncexitstack import AsyncExitStackMiddleware
    from fastapi.openapi.docs import (
        get_redoc_html,
        get_swagger_ui_html,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 176.3K bytes
    - Viewed (0)
  7. docs/en/docs/release-notes.md

    * Add request `body` to `RequestValidationError`, new docs: [Use the `RequestValidationError` body](https://fastapi.tiangolo.com/tutorial/handling-errors/#use-the-requestvalidationerror-body). Initial PR [#853](https://github.com/tiangolo/fastapi/pull/853) by [@aviramha](https://github.com/aviramha).
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 19:06:15 UTC 2025
    - 586.7K bytes
    - Viewed (0)
Back to top