Lines Matching defs:exception
53 TimeoutError = TimeoutError # make local alias for the standard exception
277 exception. If no future raises an exception
297 if not f.cancelled() and f.exception() is not None):
321 # Break a reference cycle with the exception in self._exception
342 LOGGER.exception('exception calling callback for %r', self)
403 # Break a reference cycle with the exception in self._exception
426 LOGGER.exception('exception calling callback for %r', self)
442 Exception: If the call raised then that exception will be raised.
460 # Break a reference cycle with the exception in self._exception
463 def exception(self, timeout=None):
464 """Return the exception raised by the call that the future represents.
467 timeout: The number of seconds to wait for the exception if the
472 The exception raised by the call that the future represents or None
552 def set_exception(self, exception):
553 """Sets the result of the future as being the given exception.
560 self._exception = exception