suna/backend/mcp_module/domain/exceptions.py

39 lines
507 B
Python
Raw Normal View History

2025-07-14 18:36:27 +08:00
class MCPException(Exception):
pass
class MCPConnectionError(MCPException):
pass
class MCPServerNotFoundError(MCPException):
pass
class MCPToolNotFoundError(MCPException):
pass
class MCPToolExecutionError(MCPException):
pass
class MCPProviderError(MCPException):
pass
class MCPConfigurationError(MCPException):
pass
class MCPRegistryError(MCPException):
pass
class MCPAuthenticationError(MCPException):
pass
class CustomMCPError(MCPException):
pass