MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / error

Method error

extlibs/vili/include/vili/exceptions.hpp:58–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56 }
57 }
58 template <class... Args> void error(Args&&... args)
59 {
60 const std::string errorMsg = fmt::format(std::forward<Args>(args)...);
61 if (VERBOSE_EXCEPTIONS)
62 {
63 m_message += fmt::format(" Error: {}\n", errorMsg);
64 }
65 else
66 {
67 m_message += (": " + errorMsg);
68 }
69 }
70 template <class... Args> void hint(Args&&... args)
71 {
72 const std::string hintMsg = fmt::format(std::forward<Args>(args)...);

Callers 10

invalid_castMethod · 0.45
invalid_mergeMethod · 0.45
unknown_child_nodeMethod · 0.45
array_index_overflowMethod · 0.45
invalid_data_typeMethod · 0.45
too_much_indentationMethod · 0.45
unknown_templateMethod · 0.45
parsing_errorMethod · 0.45
invalid_node_typeMethod · 0.45

Calls 1

formatFunction · 0.50

Tested by

no test coverage detected