+
    Q(iF                        a  R t0 t ^ RIHtHtHt ^ RIHt ^ RIt^ RIt	^ RI
Ht ^ RI	Ht ^ RItR R ltR R	 lt]]/t] ^ k R
 R ltR# )    )CallableIterableMapping)AnyNBaseExceptionGroup)McpErrorc                $    V ^8  d   QhR\         /#    groupr   )formats   "b/Users/agent/.openclaw/workspace/venv/lib/python3.14/site-packages/fastmcp/utilities/exceptions.py__annotate__r      s      &     c              #      "   V P                    F2  p\        V\        4      '       d   \        V4       R j  xL
  K.  Vx  K4  	  R #  L5iN)
exceptions
isinstancer   iter_exc)r   excs   & r   r   r      s8     c-..}$$I	  $s   4A	AA	c                $    V ^8  d   QhR\         /# r   r   )r   s   "r   r   r      s     	 	0 	r   c                     \        V 4       Ff  p\        V\        P                  4      '       dD   \	        \
        P                  P                  \        P                  P                  R R7      R7      hVh	  R# )z%Timed out while waiting for response.)codemessage)errorN)
r   r   httpxConnectTimeoutr	   mcptypes	ErrorDatacodesREQUEST_TIMEOUT)r   leafs   & r   _exception_handlerr%      s^    dE0011ii))44C *   
  r   c                    V ^8  d   QhR\         \        \        ,          \        \        \        ,          ,          ,          \        \
        \        ,          .\        3,          3,          /# )r   return)r   typeBaseExceptionr   r   r   r   )r   s   "r   r   r   *   sJ      G(4#677 %&+,. r   c                  R    \         P                  P                  '       d   \        # / # r   )fastmcpsettings'client_raise_first_exceptiongroup_error_catch_handlers r   r   get_catch_handlersr0   *   s!     ???	r   c                    V ^8  d   Qh/ ^ \         9   dd   \        \        \        ,          \        \        \        ,          ,          ,          \
        \        \        ,          .\        3,          3,          ;R&   # )r   r.   )__conditional_annotations__r   r(   r)   r   r   r   r   )r   s   "r   r   r      sW     7 7B (4#677 %&+,. C 8r   )r2   collections.abcr   r   r   typingr   r   	mcp.typesr   exceptiongroupr   r	   r+   r   r%   	Exceptionr.   r0   r   )r2   s   @r   <module>r8      sD    7 7    -  	$ !  r   