Google Cloud C++ Client
0.4.0
C++ Client Library for Google Cloud Platform
|
Reports error code and details from a remote request. More...
#include <google/cloud/status.h>
Public Member Functions | |
Status () | |
Status (StatusCode status_code, std::string message) | |
bool | ok () const |
bool | operator== (Status const &rhs) const |
bool | operator!= (Status const &rhs) const |
StatusCode | code () const |
std::string const & | message () const |
Reports error code and details from a remote request.
This class is modeled after grpc::Status
, it contains the status code and error message (if applicable) from a JSON request.
|
inlineexplicit |
|
inline |
|
inline |
|
inline |