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

Method __init__

client-sdks/python-bridge/aster.py:27–30  ·  view source on GitHub ↗
(self, tool_name: str, error_msg: str)

Source from the content-addressed store, hash-verified

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

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected