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

Method backtrace

include/tvm/ffi/error.h:232–235  ·  view source on GitHub ↗

! * \brief Get the backtrace of the error object. * \return The backtrace of the error object. * \note Consider use TracebackMostRecentCallLast for pythonic style traceback. * * \sa TracebackMostRecentCallLast */

Source from the content-addressed store, hash-verified

230 * \sa TracebackMostRecentCallLast
231 */
232 std::string backtrace() const {
233 ErrorObj* obj = static_cast<ErrorObj*>(data_.get());
234 return std::string(obj->backtrace.data, obj->backtrace.size);
235 }
236
237 /*!
238 * \brief Get the traceback in the order of most recent call last.

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected