code: def test_error_reporting():
      try:
          te.create_prim_func(te_scan())
          assert False
      except TypeError as e:
          error_message = str(e)
          assert (
              error_message.find("Unsupported Operation: ScanOp.") != -1
          )
          return
      assert False
  
imports: import numpy
  import tvm
  import tvm.testing
  from tvm import te, tir, topi, relay
  from tvm.script import tir
  import pytest
label_desc: Use image node_id 25 for calling a global function with example usage: test_error_reporting() without return types