mirror of
https://github.com/aljazceru/mcp-python-sdk.git
synced 2025-12-19 14:54:24 +01:00
Initial import
This commit is contained in:
9
mcp_python/shared/exceptions.py
Normal file
9
mcp_python/shared/exceptions.py
Normal file
@@ -0,0 +1,9 @@
|
||||
from mcp_python.types import ErrorData
|
||||
|
||||
|
||||
class McpError(Exception):
|
||||
"""
|
||||
Exception type raised when an error arrives over an MCP connection.
|
||||
"""
|
||||
|
||||
error: ErrorData
|
||||
Reference in New Issue
Block a user