MCPcopy Create free account
hub / github.com/apache/arrow / ToStatus

Method ToStatus

cpp/src/arrow/json/chunker.cc:164–170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

162 }
163
164 static Status ToStatus(simdjson::error_code error,
165 std::string_view error_prefix = "JSON parse error: ") {
166 if (error == simdjson::SUCCESS) {
167 return Status::OK();
168 }
169 return Status::Invalid(std::string(error_prefix) + simdjson::error_message(error));
170 }
171};
172
173} // namespace

Callers

nothing calls this directly

Calls 2

OKFunction · 0.70
InvalidFunction · 0.50

Tested by

no test coverage detected