Utilities for grpc::StatusCode.
Definition in file status_codes.hpp.
Go to the source code of this file.
#include <grpcpp/support/status.h>
Namespaces | |
namespace | ugrpc |
Asynchronous gRPC driver. | |
Functions | |
grpc::StatusCode | ugrpc::StatusCodeFromString (std::string_view str) |
Convert string to grpc::StatusCode. | |
std::string_view | ugrpc::ToString (grpc::StatusCode code) noexcept |
Convert grpc::StatusCode to string. | |
bool | ugrpc::IsServerError (grpc::StatusCode code) noexcept |
Whether a given status code is definitely a server-side error. | |