MCPcopy Create free account
hub / github.com/Mnexa-AI/e2a / _api_exc

Function _api_exc

sdks/python/tests/test_v1_retry.py:28–31  ·  view source on GitHub ↗
(status, headers=None)

Source from the content-addressed store, hash-verified

26
27
28def _api_exc(status, headers=None):
29 e = ApiException(status=status, body="{}")
30 e.headers = headers
31 return e
32
33
34def cfg(**kw):

Calls 1

ApiExceptionClass · 0.90

Tested by

no test coverage detected