MCPcopy Create free account
hub / github.com/astercloud/aster / ToolExecutionError

Class ToolExecutionError

client-sdks/python-bridge/aster.py:25–30  ·  view source on GitHub ↗

工具执行错误

Source from the content-addressed store, hash-verified

23
24
25class ToolExecutionError(AsterBridgeError):
26 """工具执行错误"""
27 def __init__(self, tool_name: str, error_msg: str):
28 self.tool_name = tool_name
29 self.error_msg = error_msg
30 super().__init__(f"Tool {tool_name} failed: {error_msg}")
31
32
33class NetworkError(AsterBridgeError):

Callers 1

call_toolMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected