Exceptions
MCPClient exceptions.
- exception smarter.apps.mcpclient.exceptions.SmarterMCPClientConfigurationError(message='')[source]
Bases:
SmarterMCPClientExceptionAn MCPClient is not configured correctly, e.g. its credentials Secret is missing.
- property get_formatted_err_message
- exception smarter.apps.mcpclient.exceptions.SmarterMCPClientConnectionError(message='')[source]
Bases:
SmarterMCPClientExceptionSmarter could not connect to an MCP server, or the server did not respond correctly.
- property get_formatted_err_message
- exception smarter.apps.mcpclient.exceptions.SmarterMCPClientException(message='')[source]
Bases:
SmarterExceptionBase class for all mcpclient exceptions.
- property get_formatted_err_message
- exception smarter.apps.mcpclient.exceptions.SmarterMCPClientPermissionError(message='')[source]
Bases:
SmarterMCPClientExceptionA tool or resource is not allowed by an MCPClient’s allowedTools or allowedResources.
- property get_formatted_err_message