swadhinbiswas WIP save-point: production hardening, H3 removal, fmt gate, and accumulated phase work · 7/15/2026
2080d40
18 lines · 464 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
from typing import Any, Dict, Optional

class HTTPException(Exception):
    def __init__(
        self,
        status_code: int,
        detail: Any = None,
        headers: Optional[Dict[str, str]] = None,
    ) -> None: ...
    status_code: int
    detail: Any
    headers: Optional[Dict[str, str]]

class WebSocketException(Exception):
    def __init__(self, code: int = 1000, reason: Optional[str] = None) -> None: ...
    code: int
    reason: Optional[str]