silence_polling_error
Suppress specific polling errors in the event loop.
def silence_polling_error(
loop: AbstractEventLoop,
context: dict
) - > null
Suppress specific polling errors in the event loop.
Parameters
| Name | Type | Description |
|---|---|---|
| loop | AbstractEventLoop | The event loop instance where the error occurred. It is used to call the default exception handler if the error is not suppressed. |
| context | dict | A dictionary containing information about the exception, typically including the 'exception' key with the exception object. |
Returns
| Type | Description |
|---|---|
null | This function does not return any value; it either suppresses the error or delegates to the default exception handler. |