s3transfer/futures.py
def set_exception(self, exception):
        """Sets the exception on the future."""
        if not self.done():
            raise TransferNotDoneError(
                'set_exception can only be called once the transfer is '
                'complete.')
        self._coordinator.set_exception(exception, override=True)
def set_exception(self, exception):
        if not self.done():
            raise TransferNotDoneError(
                'set_exception can only be called once the transfer is '
                'complete.')
        self._coordinator.set_exception(exception, override=True)
def set_exception ( self , exception ) : if not self . done ( ) : raise TransferNotDoneError ( 'set_exception can only be called once the transfer is ' 'complete.' ) self . _coordinator . set_exception ( exception , override = True )
Sets the exception on the future.
Sets the exception on the future .