userver: ugrpc::client::CancelledError Class Reference
⚠️ This is the documentation for an old userver version. Click here to switch to the latest version.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
ugrpc::client::CancelledError Class Referencefinal

Concrete errors for all the error codes. More...

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

+ Inheritance diagram for ugrpc::client::CancelledError:
+ Collaboration diagram for ugrpc::client::CancelledError:

Public Member Functions

 ErrorWithStatus (std::string_view call_name, grpc::Status &&status, std::optional< google::rpc::Status > &&gstatus, std::optional< std::string > &&message)
 
- Public Member Functions inherited from ugrpc::client::ErrorWithStatus
 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
 

Detailed Description

Concrete errors for all the error codes.

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

Definition at line 76 of file exceptions.hpp.


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