MCPcopy Create free account
hub / github.com/PDAL/PDAL / printErrors

Method printErrors

io/StacReader.cpp:312–324  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

310}
311
312void StacReader::Private::printErrors(Catalog& c)
313{
314 ErrorList errors = c.errors();
315 if (errors.size())
316 {
317 for (auto& p: errors)
318 {
319 log()->get(LogLevel::Error) << "Failure fetching '" << p.first
320 << "' with error '" << p.second << "'\n";
321 }
322 throw pdal_error("Errors found during initial processing of the Catalog.");
323 }
324}
325
326std::string listStr(std::string key, std::vector<RegEx> ids)
327{

Callers

nothing calls this directly

Calls 4

errorsMethod · 0.80
logFunction · 0.50
sizeMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected