MCPcopy Create free account
hub / github.com/aria2/aria2 / getErrorString

Method getErrorString

src/MetalinkParserStateMachine.cc:535–542  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

533}
534
535std::string MetalinkParserStateMachine::getErrorString() const
536{
537 std::stringstream error;
538 error << "Specification violation: ";
539 std::copy(errors_.begin(), errors_.end(),
540 std::ostream_iterator<std::string>(error, ", "));
541 return error.str();
542}
543
544std::unique_ptr<Metalinker> MetalinkParserStateMachine::getResult()
545{

Callers 2

parseFileFunction · 0.80
parseBinaryStreamFunction · 0.80

Calls 4

copyFunction · 0.85
beginMethod · 0.45
endMethod · 0.45
strMethod · 0.45

Tested by

no test coverage detected