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

Function _raise_subagent_error

astrbot/dashboard/api/subagents.py:34–35  ·  view source on GitHub ↗
(exc: SubAgentServiceError)

Source from the content-addressed store, hash-verified

32
33
34def _raise_subagent_error(exc: SubAgentServiceError) -> None:
35 raise ApiError(str(exc)) from exc
36
37
38async def _get_config(service: SubAgentService):

Callers 3

_get_configFunction · 0.85
_update_configFunction · 0.85
_get_available_toolsFunction · 0.85

Calls 1

ApiErrorClass · 0.90

Tested by

no test coverage detected