| 77 | } |
| 78 | |
| 79 | void 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 | |
| 86 | template <typename T> |
| 87 | void PrintError(const std::string& context_msg, const Result<T>& result) { |