o
    ôæh<  ã                   @   s    d dl mZ G dd„ deƒZdS )é    )Ú	ErrorDatac                       s0   e Zd ZU dZeed< def‡ fdd„Z‡  ZS )ÚMcpErrorzM
    Exception type raised when an error arrives over an MCP connection.
    Úerrorc                    s   t ƒ  |j¡ || _dS )zInitialize McpError.N)ÚsuperÚ__init__Úmessager   )Úselfr   ©Ú	__class__© úV/var/www/html/openai_agents/venv/lib/python3.10/site-packages/mcp/shared/exceptions.pyr      s   
zMcpError.__init__)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Ú__annotations__r   Ú__classcell__r   r   r	   r   r      s   
 r   N)Ú	mcp.typesr   Ú	Exceptionr   r   r   r   r   Ú<module>   s    