MCPcopy Index your code
hub / github.com/OpenBMB/ChatDev / handle_workflow_execution_error

Function handle_workflow_execution_error

utils/error_handler.py:42–44  ·  view source on GitHub ↗

Handle workflow execution errors.

(request: Request, exc: WorkflowExecutionError)

Source from the content-addressed store, hash-verified

40
41
42async def handle_workflow_execution_error(request: Request, exc: WorkflowExecutionError) -> JSONResponse:
43 """Handle workflow execution errors."""
44 return await handle_mac_exception(request, exc)
45
46
47async def handle_resource_not_found_error(request: Request, exc: ResourceNotFoundError) -> JSONResponse:

Callers

nothing calls this directly

Calls 1

handle_mac_exceptionFunction · 0.85

Tested by

no test coverage detected