silence_polling_error
Suppress specific polling errors in the event loop.
def silence_polling_error(
loop: asyncio.AbstractEventLoop,
context: dict
) - > null
Suppress specific polling errors in the event loop.
Parameters
| Name | Type | Description |
|---|---|---|
| loop | asyncio.AbstractEventLoop | The event loop instance where the exception occurred. |
| context | dict | A dictionary containing error details, including the exception object and message. |
Returns
| Type | Description |
|---|---|
null | Nothing is returned; the function either suppresses the error or delegates to the default handler. |