Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for WebSocketRequestValidationError (0.28 seconds)

  1. fastapi/exceptions.py

            body: Any = None,
            endpoint_ctx: EndpointContext | None = None,
        ) -> None:
            super().__init__(errors, endpoint_ctx=endpoint_ctx)
            self.body = body
    
    
    class WebSocketRequestValidationError(ValidationException):
        def __init__(
            self,
            errors: Sequence[Any],
            *,
            endpoint_ctx: EndpointContext | None = None,
        ) -> None:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 18:41:21 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  2. fastapi/routing.py

    )
    from fastapi.encoders import jsonable_encoder
    from fastapi.exceptions import (
        EndpointContext,
        FastAPIError,
        RequestValidationError,
        ResponseValidationError,
        WebSocketRequestValidationError,
    )
    from fastapi.sse import (
        _PING_INTERVAL,
        KEEPALIVE_COMMENT,
        EventSourceResponse,
        ServerSentEvent,
        format_sse_event,
    )
    from fastapi.types import DecoratedCallable, IncEx
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 193K bytes
    - Click Count (0)
  3. fastapi/applications.py

        request_validation_exception_handler,
        websocket_request_validation_exception_handler,
    )
    from fastapi.exceptions import (
        FastAPIError,
        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,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Apr 01 16:16:24 GMT 2026
    - 178.6K bytes
    - Click Count (0)
  4. docs/en/docs/release-notes.md

    ### Features
    
    * ✨ Add support for `dependencies` in WebSocket routes. PR [#4534](https://github.com/tiangolo/fastapi/pull/4534) by [@paulo-raca](https://github.com/paulo-raca).
    * ✨ Add exception handler for `WebSocketRequestValidationError` (which also allows to override it). PR [#6030](https://github.com/tiangolo/fastapi/pull/6030) by [@kristjanvalur](https://github.com/kristjanvalur).
    
    ### Refactors
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Apr 03 12:07:04 GMT 2026
    - 631K bytes
    - Click Count (0)
Back to Top