userver: ugrpc::client::ErrorWithStatus Class Reference
Loading...
Searching...
No Matches
ugrpc::client::ErrorWithStatus Class Reference

#include <userver/ugrpc/client/exceptions.hpp>

Detailed Description

Error with grpc::Status details.

See also
<grpcpp/impl/codegen/status_code_enum.h> for error code details

Definition at line 55 of file exceptions.hpp.

+ Inheritance diagram for ugrpc::client::ErrorWithStatus:

Public Member Functions

 ErrorWithStatus (std::string_view call_name, grpc::Status &&status, std::optional< google::rpc::Status > &&gstatus, std::optional< std::string > &&message)
 
const grpc::Status & GetStatus () const noexcept
 
const std::optional< google::rpc::Status > & GetGStatus () const noexcept
 
const std::optional< std::string > & GetGStatusString () const noexcept
 
const char * what () const noexcept override
 

The documentation for this class was generated from the following file: