Re-export Starlette's WebSocketException and add it to docs (#5629)

This commit is contained in:
Sebastián Ramírez
2022-11-13 17:10:54 +01:00
committed by GitHub
parent 1c93d5523a
commit d537ee93d7
4 changed files with 14 additions and 6 deletions

View File

@@ -3,6 +3,7 @@ from typing import Any, Dict, Optional, Sequence, Type
from pydantic import BaseModel, ValidationError, create_model
from pydantic.error_wrappers import ErrorList
from starlette.exceptions import HTTPException as StarletteHTTPException
from starlette.exceptions import WebSocketException as WebSocketException # noqa: F401
class HTTPException(StarletteHTTPException):