Did it work? If it didn't, why?
More...
#include <status.h>
Did it work? If it didn't, why?
See grpc::StatusCode for details on the available code and their meaning.
◆ Status() [1/3]
Construct an OK instance.
◆ Status() [2/3]
Construct an instance with associated code and error_message.
It is an error to construct an OK status with non-empty error_message.
◆ Status() [3/3]
Construct an instance with code, error_message and error_details.
It is an error to construct an OK status with non-empty error_message and/or error_details.
◆ error_code()
Return the instance's error code.
◆ error_details()
Return the (binary) error details.
◆ error_message()
Return the instance's error message.
◆ IgnoreError()
void grpc::Status::IgnoreError |
( |
| ) |
const |
|
inline |
◆ ok()
bool grpc::Status::ok |
( |
| ) |
const |
|
inline |
◆ CANCELLED
const Status& grpc::Status::CANCELLED |
|
static |
A CANCELLED pre-defined instance.
◆ OK
const Status& grpc::Status::OK |
|
static |
An OK pre-defined instance.
The documentation for this class was generated from the following file: