MCPcopy Create free account
hub / github.com/NVIDIA/TensorRT / getErrorDesc

Function getErrorDesc

python/src/infer/pyCore.cpp:709–724  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

707 }
708
709 virtual ErrorDesc getErrorDesc(int32_t errorIdx) const noexcept override
710 {
711 try
712 {
713 PYBIND11_OVERLOAD_PURE_NAME(ErrorDesc, IErrorRecorder, "get_error_desc", getErrorDesc, errorIdx);
714 }
715 catch (std::exception const& e)
716 {
717 std::cerr << "[ERROR] Exception caught in get_error_desc(): " << e.what() << std::endl;
718 }
719 catch (...)
720 {
721 std::cerr << "[ERROR] Exception caught in get_error_desc()" << std::endl;
722 }
723 return {};
724 }
725
726 virtual void clear() noexcept override
727 {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected