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

Function PrintError

cpp/src/arrow/filesystem/s3fs_narrative_test.cc:79–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77}
78
79void PrintError(const std::string& context_msg, const Status& st) {
80 if (FLAGS_verbose) {
81 std::cout << "-- Error printout (" << context_msg << ") --\n"
82 << st.ToString() << std::endl;
83 }
84}
85
86template <typename T>
87void PrintError(const std::string& context_msg, const Result<T>& result) {

Callers

nothing calls this directly

Calls 2

ToStringMethod · 0.45
statusMethod · 0.45

Tested by

no test coverage detected