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

Function handle_resource_not_found_error

utils/error_handler.py:47–49  ·  view source on GitHub ↗

Handle resource not found errors.

(request: Request, exc: ResourceNotFoundError)

Source from the content-addressed store, hash-verified

45
46
47async def handle_resource_not_found_error(request: Request, exc: ResourceNotFoundError) -> JSONResponse:
48 """Handle resource not found errors."""
49 return await handle_mac_exception(request, exc)
50
51
52async def handle_resource_conflict_error(request: Request, exc: ResourceConflictError) -> JSONResponse:

Callers

nothing calls this directly

Calls 1

handle_mac_exceptionFunction · 0.85

Tested by

no test coverage detected