code: def test_nested_catch_exception(workflow_start_regular_shared):
      @ray.remote
      def f2():
          return 10
  
      @ray.remote
      def f1():
          return workflow.continuation(f2.bind())
  
      assert (10, None) == workflow.run(
          f1.options(**workflow.options(catch_exceptions=True)).bind()
      )
  
file_path: ray/python/ray/workflow/tests/test_error_handling.py
imports: import pytest
  import ray
  from ray import workflow
  from ray.tests.conftest import *
label_desc: Use image node_id 2 for calling a global function with example usage: test_nested_catch_exception(workflow_start_regular_shared) and returns: int, workflow