Exceptions
MCPServer exceptions.
- exception smarter.apps.mcpserver.exceptions.SmarterMCPServerException(message='')[source]
Bases:
SmarterExceptionBase class for all mcpserver exceptions.
- property get_formatted_err_message
- exception smarter.apps.mcpserver.exceptions.SmarterMCPServerIndexError(message='')[source]
Bases:
SmarterMCPServerExceptionA repository could not be indexed, e.g. GitHub could not be reached, or its archive is too large.
- property get_formatted_err_message
- exception smarter.apps.mcpserver.exceptions.SmarterMCPServerToolError(message='')[source]
Bases:
SmarterMCPServerExceptionA tool could not do what it was asked, e.g. a file does not exist.
The error is returned to the LLM as the tool’s result, with
isErrorset, so that it can correct its arguments.- property get_formatted_err_message