MCPcopy Create free account
hub / github.com/NVIDIA/DALI / BuildErrorString

Function BuildErrorString

include/dali/core/error_handling.h:105–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103};
104
105inline string BuildErrorString(string statement, string file, int line) {
106 string line_str = std::to_string(line);
107 string error = "[" + std::move(file) + ":" + std::move(line_str) +
108 "]: Assert on \"" + std::move(statement) +
109 "\" failed";
110 return error;
111}
112
113#if DALI_USE_STACKTRACE
114inline void ltrim(std::string *s) {

Callers

nothing calls this directly

Calls 1

to_stringFunction · 0.70

Tested by

no test coverage detected