Initial import
This commit is contained in:
commit
4cbf815430
1 changed files with 2986 additions and 0 deletions
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
|
||||
Loading…
Reference in a new issue