Function tvm::script::printer::RedirectVisitErrorEnrichMethod#
Defined in File support.h
Function Documentation#
-
ffi::Error tvm::script::printer::RedirectVisitErrorEnrichMethod(const ffi::Error &error, const ffi::ObjectRef &root)#
Render visit-error context through the shared IR error renderer.
- Parameters:
error – The original callback error, with traversal breadcrumbs.
root – The original structural operation root.
- Returns:
The enriched error, or the original error if rendering is unavailable.