class_docstr: Test Future interface to make sure all backend behave the same
docstr: Wait - Error
docstr_tok: ["Wait","-","Error"]
code: def wait_error(self, executor):
      """Wait - Error"""
      future = executor.submit(function, FunctionException, 0.1, None)
  
      assert future.ready() is False
      future.wait()
      assert future.ready() is True
  
      with pytest.raises(FunctionException):
          future.get()
  
imports: import time
  import pytest
  from orion.executor.dask_backend import HAS_DASK, Dask
  from orion.executor.multiprocess_backend import PoolExecutor
  from orion.executor.single_backend import SingleExecutor
label_desc: Use image node_id 6 for calling the TestFutures obj's underlying member method code with example usage: obj.wait_error(executor) without return types