MCPcopy Create free account
hub / github.com/apache/tvm-ffi / raise_cxx_error

Function raise_cxx_error

tests/python/test_error.py:106–108  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

104 assert ffi_error.backtrace.find("raise_error") != -1
105
106 def raise_cxx_error() -> None:
107 cxx_test_raise_error = tvm_ffi.get_global_func("testing.test_raise_error")
108 cxx_test_raise_error("ValueError", "error XYZ")
109
110 try:
111 raise_cxx_error()

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected