asyncio.AbstractEventLoop.call_exception_handler()

AbstractEventLoop.call_exception_handler(context)

Call the current event loop exception handler.

context is a dict object containing the following keys (new keys may be introduced later):

  • ‘message’: Error message;
  • ‘exception’ (optional): Exception object;
  • ‘future’ (optional): asyncio.Future instance;
  • ‘handle’ (optional): asyncio.Handle instance;
  • ‘protocol’ (optional): Protocol instance;
  • ‘transport’ (optional): Transport instance;
  • ‘socket’ (optional): socket.socket instance.

Note

Note: this method should not be overloaded in subclassed event loops. For any custom exception handling, use set_exception_handler() method.

doc_python
2016-10-07 17:26:26
Comments
Leave a Comment

Please login to continue.