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

Function _exc

sdks/python/tests/test_v1_errors.py:21–24  ·  view source on GitHub ↗
(status, body=None, headers=None)

Source from the content-addressed store, hash-verified

19
20
21def _exc(status, body=None, headers=None):
22 e = ApiException(status=status, body=body)
23 e.headers = headers
24 return e
25
26
27def test_status_to_class_mapping():

Calls 1

ApiExceptionClass · 0.90

Tested by

no test coverage detected