MCPcopy Create free account
hub / github.com/Cantera/cantera / warn

Method warn

src/base/application.cpp:119–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117}
118
119void Application::warn(const string& warning, const string& method, const string& extra)
120{
121 if (m_fatal_warnings) {
122 throw CanteraError(method, extra);
123 } else if (m_suppress_warnings) {
124 return;
125 }
126 warnlog(warning, fmt::format("{}: {}", method, extra));
127}
128
129void Application::thread_complete()
130{

Callers 3

compareFunction · 0.45
_warnFunction · 0.45
warnlogMethod · 0.45

Calls 1

CanteraErrorClass · 0.85

Tested by

no test coverage detected