29 #ifndef UTIL_STATUS_H_ 30 #define UTIL_STATUS_H_ 86 return error_message_;
89 bool operator==(
const Status& x)
const;
91 return !operator==(x);
95 std::string ToString()
const;
105 #define EXPECT_OK(value) EXPECT_TRUE((value).ok()) 106 #define CHECK_OK(value) CHECK((value).ok()) 107 #define DCHECK_OK(value) DCHECK((value).ok()) 111 #endif // UTIL_STATUS_H_
static const Status UNKNOWN
std::string error_message() const
static const Status CANCELLED
std::ostream & operator<<(std::ostream &os, const Status &x)
bool operator!=(const Status &x) const
std::string error_message_