code: def exception(self, loop: asyncio.BaseEventLoop, context: dict) -> None:
          '''Log unhandled exceptions from anywhere in the event loop.'''
  
          Log.error('unhandled exception: %s', context['message'])
          Log.error('%s', context)
          if 'exception' in context:
              Log.error('  %s', context['exception']f exception(self, loop: asyncio.BaseEventLoop, context: dict) -> None:
          '''Log unhandled exceptions from anywhere in the event loop.'''
  
          Log.error('unhandled exception: %s', context['message'])
          Log.error('%s', context)
          if 'exception' in context:
              Log.error('  %s', context['exception'])
docs: Log unhandled exceptions from anywhere in the event loop.