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