mirror of
https://github.com/fastapi/fastapi.git
synced 2026-01-27 15:28:20 -05:00
✨ Re-export Starlette's WebSocketException and add it to docs (#5629)
This commit is contained in:
committed by
GitHub
parent
1c93d5523a
commit
d537ee93d7
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user