userver: userver/ugrpc/status_codes.hpp File Reference
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
status_codes.hpp File Reference

Your opinion will help to improve our service

Leave a feedback >

Detailed Description

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 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.