MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / create_error_msg

Method create_error_msg

src/core/Error.cpp:39–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39Status
40arm_compute::create_error_msg(ErrorCode error_code, const char *func, const char *file, int line, const char *msg)
41{
42 std::array<char, 512> out{0};
43 snprintf(out.data(), out.size(), "in %s %s:%d: %s", func, file, line, msg);
44 return Status(error_code, std::string(out.data()));
45}
46
47void arm_compute::throw_error(Status err)
48{

Callers

nothing calls this directly

Calls 4

snprintfFunction · 0.85
StatusClass · 0.50
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected