PyDocs

Nav

Networking and Interprocess Communication

Future.exception

asyncio

method of Futurenot WASI
  • Future.exception()
Return the exception that was set on this future.

The exception (or None if no exception was set) is returned only if
the future is done.  If the future has been cancelled, raises
CancelledError.  If the future isn't done yet, raises
InvalidStateError.
0 Examples
No examples for asyncio/Future.exception.
See Also
No see-alsos for asyncio/Future.exception
0 Notes
No notes for Future.exception