MCPcopy
hub / github.com/OpenBMB/ChatDev / handle_external_service_error

Function handle_external_service_error

utils/error_handler.py:62–64  ·  view source on GitHub ↗

Handle external service errors.

(request: Request, exc: ExternalServiceError)

Source from the content-addressed store, hash-verified

60
61
62async def handle_external_service_error(request: Request, exc: ExternalServiceError) -> JSONResponse:
63 """Handle external service errors."""
64 return await handle_mac_exception(request, exc)
65
66
67async def handle_mac_exception(request: Request, exc: MACException) -> JSONResponse:

Callers

nothing calls this directly

Calls 1

handle_mac_exceptionFunction · 0.85

Tested by

no test coverage detected