MCPcopy Create free account
hub / github.com/HertzDevil/0CC-FamiTracker / GetErrorString

Method GetErrorString

Source/ModuleException.cpp:25–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23#include "ModuleException.h"
24
25std::string CModuleException::GetErrorString() const {
26 std::string out;
27 for (const auto &x : m_strError)
28 out += x + '\n';
29 if (!m_strFooter.empty())
30 out += m_strFooter;
31 else
32 out.pop_back();
33
34 return out;
35}
36
37void CModuleException::AppendError(std::string str) {
38 m_strError.push_back(std::move(str));

Callers 2

OpenDocumentMethod · 0.80
LoadInstrumentMethod · 0.80

Calls 2

emptyMethod · 0.80
pop_backMethod · 0.45

Tested by

no test coverage detected