class Status
Defined at line 15 of file ../../third_party/cobalt/src/public/lib/status.h
Public Methods
void Status ()
Defined at line 17 of file ../../third_party/cobalt/src/public/lib/status.h
void Status (StatusCode code, std::string error_message)
Defined at line 20 of file ../../third_party/cobalt/src/public/lib/status.h
void Status (StatusCode code, std::string error_message, std::string error_details)
Defined at line 23 of file ../../third_party/cobalt/src/public/lib/status.h
std::string ToString ()
ToString converts the Status to a human-readable string.
StatusCode error_code ()
Defined at line 31 of file ../../third_party/cobalt/src/public/lib/status.h
std::string error_message ()
Defined at line 32 of file ../../third_party/cobalt/src/public/lib/status.h
std::string error_details ()
Defined at line 33 of file ../../third_party/cobalt/src/public/lib/status.h
bool ok ()
Defined at line 35 of file ../../third_party/cobalt/src/public/lib/status.h
bool operator== (const Status & other)
Defined at line 36 of file ../../third_party/cobalt/src/public/lib/status.h
void IgnoreError ()
Ignores any errors. This method does nothing except potentially suppress
complaints from any tools that are checking that errors are not dropped on
the floor.
Defined at line 44 of file ../../third_party/cobalt/src/public/lib/status.h
Status OkStatus ()
Defined at line 46 of file ../../third_party/cobalt/src/public/lib/status.h