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

Method OnError

library/cpp/json/common/defs.cpp:64–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62}
63
64void TJsonCallbacks::OnError(size_t off, TStringBuf reason) {
65 HaveErrors = true;
66 if (ThrowException) {
67 ythrow TJsonException() << "JSON error at offset " << off << " (" << reason << ")";
68 }
69}

Callers 1

ReadJsonFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected