AbstractEventLoop.set_exception_handler(handler)
Set handler as the new event loop exception handler.
If handler is None, the default exception handler will be set.
If handler is a callable object, it should have a matching signature to (loop, context), where loop will be a reference to the active event loop, context will be a dict object (see call_exception_handler() documentation for details about context).