Define TVM_FFI_THROW

Define TVM_FFI_THROW#

Define Documentation#

TVM_FFI_THROW(ErrorKind)#

Helper macro to throw an error with backtrace and message.

void ThrowError() {
  TVM_FFI_THROW(RuntimeError) << "error message";
}