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:
+ Collaboration 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
 
- Public Member Functions inherited from ugrpc::client::RpcError
 RpcError (std::string_view call_name, std::string_view additional_info)
 
- Public Member Functions inherited from ugrpc::client::BaseError
 BaseError (std::string message)
 
const char * what () const noexcept override
 

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