Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/AstrBotDevs/AstrBot
/ ApiError
Class
ApiError
astrbot/dashboard/responses.py:8–11 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
6
7
@dataclass
8
class
ApiError(Exception):
9
message: str
10
status_code: int = 400
11
data: Any = None
12
13
14
def
ok(data: Any = None, message: str | None = None) -> dict[str, Any]:
Callers
15
update_profile
Method · 0.90
_raise_conversation_error
Function · 0.90
_raise_cron_error
Function · 0.90
require_dashboard_user
Function · 0.90
_require_api_key_scope
Function · 0.90
require_scope
Function · 0.90
_raise_command_error
Function · 0.90
_raise_t2i_error
Function · 0.90
_required_text
Function · 0.90
_raise_tools_error
Function · 0.90
_raise_subagent_error
Function · 0.90
send_im_message
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected