|
GRPC C++
1.3.0
|
Did it work? If it didn't, why? More...
#include <status.h>
Public Member Functions | |
| Status () | |
| Construct an OK instance. More... | |
| Status (StatusCode code, const grpc::string &error_message) | |
| Construct an instance with associated code and error_message. More... | |
| Status (StatusCode code, const grpc::string &error_message, const grpc::string &error_details) | |
| Construct an instance with code, error_message and error_details. More... | |
| StatusCode | error_code () const |
| Return the instance's error code. More... | |
| grpc::string | error_message () const |
| Return the instance's error message. More... | |
| grpc::string | error_details () const |
| Return the (binary) error details. More... | |
| bool | ok () const |
| Is the status OK? More... | |
Static Public Attributes | |
| static const Status & | OK |
| An OK pre-defined instance. More... | |
| static const Status & | CANCELLED |
| A CANCELLED pre-defined instance. More... | |
Did it work? If it didn't, why?
See grpc::StatusCode for details on the available code and their meaning.
|
inline |
Construct an OK instance.
|
inline |
Construct an instance with associated code and error_message.
|
inline |
Construct an instance with code, error_message and error_details.
|
inline |
Return the instance's error code.
|
inline |
Return the (binary) error details.
|
inline |
Return the instance's error message.
|
inline |
Is the status OK?
|
static |
A CANCELLED pre-defined instance.
|
static |
An OK pre-defined instance.
1.8.6