MCPcopy Create free account
hub / github.com/DFHack/dfhack / SymbolsXmlParse

Method SymbolsXmlParse

library/Error.cpp:29–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27{}
28
29SymbolsXmlParse::SymbolsXmlParse(const char* desc, int id, int row, int col)
30 :AllSymbols(fmt::format("error {}: {}, at row {} col {}", id, desc, row, col)),
31 desc(safe_str(desc)), id(id), row(row), col(col)
32{}
33
34SymbolsXmlBadAttribute::SymbolsXmlBadAttribute(const char *attr)
35 :AllSymbols("attribute is either missing or invalid: " + safe_str(attr)),

Callers

nothing calls this directly

Calls 1

safe_strFunction · 0.85

Tested by

no test coverage detected