+
    Di
                        ^ RI Ht ^ RIHt ^ RIHt ^ RIHtHtH	t	 ^ RI
HtHt ^ RIHt ^ RIHtHt ^ RIHtHtHtHtHt ^ R	IHt  ! R
 R4      tR# )    )annotations)Mapping)Any)ExceptionHandlersStatusHandlerswrap_app_handling_exceptions)HTTPExceptionWebSocketException)Request)PlainTextResponseResponse)ASGIAppExceptionHandlerReceiveScopeSend)	WebSocketc                  V    ] tR t^tRR R lltR R ltR R ltR R	 ltR
 R ltRt	R# )ExceptionMiddlewareNc               (    V ^8  d   QhRRRRRRRR/# )	   appr   handlersz%Mapping[Any, ExceptionHandler] | NonedebugboolreturnNone )formats   "}/Users/tonyclaw/.openclaw/workspace/services/omi-webhook/venv/lib/python3.14/site-packages/starlette/middleware/exceptions.py__annotate__ ExceptionMiddleware.__annotate__   s2     7 77 87 	7
 
7    c                	    Wn         W0n        / V n        \        V P                  \
        V P                  /V n        Ve-   VP                  4        F  w  rEV P                  WE4       K  	  R # R # N)
r   r   _status_handlersr	   http_exceptionr
   websocket_exception_exception_handlersitemsadd_exception_handler)selfr   r   r   keyvalues   &&&&  r    __init__ExceptionMiddleware.__init__   sd     
024.. 8 87
  &nn.
**36 /  r#   c               $    V ^8  d   QhRRRRRR/# )r   exc_class_or_status_codezint | type[Exception]handlerr   r   r   r   )r   s   "r    r!   r"   $   s-     	I 	I"7	I "	I 
		Ir#   c                	    \        V\        4      '       d   W P                  V&   R # \        V\        4      '       g   Q hW P
                  V&   R # r%   )
isinstanceintr&   
issubclass	Exceptionr)   )r,   r2   r3   s   &&&r    r+   )ExceptionMiddleware.add_exception_handler$   sD    
 .44>E!!":;6	BBBBAH$$%=>r#   c               (    V ^8  d   QhRRRRRRRR/# )	r   scoper   receiver   sendr   r   r   r   )r   s   "r    r!   r"   /   s.     Q QE QG Q4 QD Qr#   c                	8  "   VR ,          R9  d   V P                  WV4      G Rj  xL
  R# V P                  V P                  3VR&   VR ,          R8X  d   \        WV4      pM\	        WV4      p\        V P                   V4      ! WV4      G Rj  xL
  R#  Lo L5i)typehttpNzstarlette.exception_handlers)r@   	websocket)r   r)   r&   r   r   r   )r,   r;   r<   r=   conns   &&&& r    __call__ExceptionMiddleware.__call__/   s     = 55((54000 $$!!1
,- =F"540DUT2D*488T:54PPP 1 	Qs"   $BBA(BBBBc               $    V ^8  d   QhRRRRRR/# )r   requestr   excr8   r   r   r   )r   s   "r    r!   r"   A   s&     _ _G _) _ _r#   c                	   "   \        V\        4      '       g   Q hVP                  R9   d"   \        VP                  VP                  R7      # \        VP                  VP                  VP                  R7      # 5i)   )status_codeheaders>   0  rI   )r5   r	   rJ   r   rK   r   detail)r,   rF   rG   s   &&&r    r'   "ExceptionMiddleware.http_exceptionA   sW     #}----??j(MM RUR]R]^^s   A7A9c               $    V ^8  d   QhRRRRRR/# )r   rA   r   rG   r8   r   r   r   )r   s   "r    r!   r"   G   s'     @ @9 @9 @QU @r#   c                	   "   \        V\        4      '       g   Q hVP                  VP                  VP                  R 7      G Rj  xL
  R#  L5i))codereasonN)r5   r
   closerQ   rR   )r,   rA   rG   s   &&&r    r(   'ExceptionMiddleware.websocket_exceptionG   s7     #12222oo388CJJo???s   AAAA)r)   r&   r   r   )NF)
__name__
__module____qualname____firstlineno__r/   r+   rC   r'   r(   __static_attributes__r   r#   r    r   r      s%    7"	IQ$_@ @r#   r   N)
__future__r   collections.abcr   typingr   starlette._exception_handlerr   r   r   starlette.exceptionsr	   r
   starlette.requestsr   starlette.responsesr   r   starlette.typesr   r   r   r   r   starlette.websocketsr   r   r   r#   r    <module>rc      s9    " #  
 C & ; K K *7@ 7@r#   