Define TVM_FFI_VISIT_END_RETURN_EXPECTED#
Defined in File visit_error_context.h
Define Documentation#
-
TVM_FFI_VISIT_END_RETURN_EXPECTED(node)#
End a visit try block and catch any Error as an Expected error, appending node to the VisitErrorContext on the way up.
Must be paired with TVM_FFI_VISIT_BEGIN() above the visit body.
- Parameters:
node – The current visit value. Object-backed values are appended to the error context’s reverse_visit_pattern on exception.