code: def get_exception(self):
          # type: () -> Optional[Tuple[Any, Any, Any]]
          
          with self.__lock:
              return (
                  self.__updateexception
                  if self.__updateexception or self.__closed
                  else self.__exportref.get_exception()
              )
docs: Returns the exception associated to the export
  
          :return: An exception tuple, if any