MCPcopy Create free account
hub / github.com/github/copilot-sdk / _canvas_handler_error

Function _canvas_handler_error

python/copilot/session.py:1327–1332  ·  view source on GitHub ↗
(err: Exception)

Source from the content-addressed store, hash-verified

1325
1326
1327def _canvas_handler_error(err: Exception) -> JsonRpcError:
1328 return JsonRpcError(
1329 -32603,
1330 str(err),
1331 data={"code": "canvas_handler_error", "message": str(err)},
1332 )
1333
1334
1335class _BearerTokenProviderAdapter:

Callers 3

openMethod · 0.85
closeMethod · 0.85
invokeMethod · 0.85

Calls 1

JsonRpcErrorClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…