MCPcopy Create free account
hub / github.com/catboost/catboost / PrintError

Function PrintError

library/cpp/json/json_reader.cpp:16–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14namespace NJson {
15 namespace {
16 TString PrintError(const rapidjson::ParseResult& result) {
17 return TStringBuilder() << TStringBuf("Offset: ") << result.Offset()
18 << TStringBuf(", Code: ") << (int)result.Code()
19 << TStringBuf(", Error: ") << GetParseError_En(result.Code());
20 }
21 } // namespace
22
23 static const size_t DEFAULT_BUFFER_LEN = 65536;

Callers 1

ReadJsonFunction · 0.70

Calls 3

TStringBuilderClass · 0.50
OffsetMethod · 0.45
CodeMethod · 0.45

Tested by

no test coverage detected