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

Method TestError

tests/framework/Exceptions.cpp:113–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111}
112
113TestError::TestError(const std::string &msg, LogLevel level, std::string context)
114 : std::runtime_error{msg}, _level{level}, _msg{msg}, _context{std::move(context)}, _combined{"ERROR: " + msg}
115{
116 if (!_context.empty())
117 {
118 _combined += "\nCONTEXT:\n" + _context;
119 }
120}
121
122LogLevel TestError::level() const
123{

Callers

nothing calls this directly

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected