MCPcopy Create free account
hub / github.com/Distributive-Network/PythonMonkey / exceptionHandler

Function exceptionHandler

tests/python/test_event_loop.py:360–361  ·  view source on GitHub ↗
(loop, context)

Source from the content-addressed store, hash-verified

358 future = loop.create_future()
359
360 def exceptionHandler(loop, context):
361 future.set_exception(context["exception"])
362 loop.set_exception_handler(exceptionHandler)
363
364 pm.eval("""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected