Define TVM_FFI_LOG_AND_THROW

Define TVM_FFI_LOG_AND_THROW#

Define Documentation#

TVM_FFI_LOG_AND_THROW(ErrorKind)#

Explicitly log error in stderr and then throw the error.

Note

This is only necessary on startup functions where we know error cannot be caught, and it is better to have a clear log message. In most cases, we should use use TVM_FFI_THROW.