userver: ugrpc::client::RpcSerializationError Class Reference
Loading...
Searching...
No Matches
ugrpc::client::RpcSerializationError Class Referencefinal

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

Detailed Description

Request serialization failed before the RPC was started.

The request is not sent and userver does not retry the call. After this exception, do not access ugrpc::client::CallContext::GetClientContext or its metadata.

Definition at line 57 of file exceptions.hpp.

Inheritance diagram for ugrpc::client::RpcSerializationError:

Public Member Functions

 RpcSerializationError (std::string_view call_name, std::string_view reason)
 Constructs an error for call_name with the given reason.
const char * what () const noexcept override

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