Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/IBM/AssetOpsBench
/ error
Function
error
src/servers/wo/envelope.py:27–28 ·
view source on GitHub ↗
(message: str, code: str = "API_ERROR")
Source
from the content-addressed store, hash-verified
25
26
27
def
error(message: str, code: str =
"API_ERROR"
) -> Dict[str, Any]:
28
return
{
"success"
: False,
"error"
: message,
"error_code"
: code}
29
30
31
class
Timer:
Callers
7
get_workorder
Function · 0.90
get_workorder_costs
Function · 0.90
get_workorder_actuals_vs_planned
Function · 0.90
create_workorder
Function · 0.90
update_workorder
Function · 0.90
_change_status
Function · 0.90
assign_technician
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected