MCPcopy
hub / github.com/AstrBotDevs/AstrBot / _raise_tools_error

Function _raise_tools_error

astrbot/dashboard/api/tools.py:94–95  ·  view source on GitHub ↗
(exc: ToolsServiceError)

Source from the content-addressed store, hash-verified

92
93
94def _raise_tools_error(exc: ToolsServiceError) -> None:
95 raise ApiError(str(exc)) from exc
96
97
98async def _run(

Callers 1

_runFunction · 0.85

Calls 1

ApiErrorClass · 0.90

Tested by

no test coverage detected