MCPcopy Create free account
hub / github.com/OpenMW/openmw / nodeError

Function nodeError

components/lua/yamlloader.cpp:272–278  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

270 }
271
272 [[noreturn]] void nodeError(const YAML::Node& node, const std::string& message)
273 {
274 const auto& mark = node.Mark();
275 std::string error
276 = std::format(" at line={} column={} position={}", mark.line + 1, mark.column + 1, mark.pos + 1);
277 throw std::runtime_error(message + error);
278 }
279 }
280}

Callers 4

getNodeFunction · 0.85
getMapFunction · 0.85
getScalarTypeFunction · 0.85
getScalarFunction · 0.85

Calls 1

formatFunction · 0.85

Tested by

no test coverage detected