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.
Please login to continue.