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

Function handle_resource_conflict_error

utils/error_handler.py:52–54  ·  view source on GitHub ↗

Handle resource conflict errors.

(request: Request, exc: ResourceConflictError)

Source from the content-addressed store, hash-verified

50
51
52async def handle_resource_conflict_error(request: Request, exc: ResourceConflictError) -> JSONResponse:
53 """Handle resource conflict errors."""
54 return await handle_mac_exception(request, exc)
55
56
57async def handle_timeout_error(request: Request, exc: TimeoutError) -> JSONResponse:

Callers

nothing calls this directly

Calls 1

handle_mac_exceptionFunction · 0.85

Tested by

no test coverage detected