MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / set_exception

Method set_exception

tools/python-3.11.9-amd64/Lib/asyncio/tasks.py:161–162  ·  view source on GitHub ↗
(self, exception)

Source from the content-addressed store, hash-verified

159 raise RuntimeError('Task does not support set_result operation')
160
161 def set_exception(self, exception):
162 raise RuntimeError('Task does not support set_exception operation')
163
164 def get_stack(self, *, limit=None):
165 """Return the list of stack frames for this task's coroutine.

Callers 15

_sock_recvMethod · 0.45
_sock_recv_intoMethod · 0.45
_sock_recvfromMethod · 0.45
_sock_recvfrom_intoMethod · 0.45
_sock_sendallMethod · 0.45
_sock_sendtoMethod · 0.45
_sock_connectMethod · 0.45
_sock_connect_cbMethod · 0.45
_sock_acceptMethod · 0.45
_write_readyMethod · 0.45
_call_connection_lostMethod · 0.45
callbackMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected