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

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

Detailed Description

RPC failed without a gRPC status because it was interrupted at the transport level (cancelled via TryCancel, or the connection was lost/reset). For a unary call it is thrown only when no concrete gRPC status is available; when a status is available it is instead surfaced as the corresponding ugrpc::client::ErrorWithStatus. Retryable. Note: Deadline expiration throws ugrpc::client::DeadlineExceededError.

Definition at line 42 of file exceptions.hpp.

Inheritance diagram for ugrpc::client::RpcInterruptedError:

Public Member Functions

 RpcInterruptedError (std::string_view call_name, std::string_view stage)
const char * what () const noexcept override

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