userver: userver/ugrpc/server/exceptions.hpp File Reference
Loading...
Searching...
No Matches
exceptions.hpp File Reference

Detailed Description

Errors thrown by gRPC server streams.

Definition in file exceptions.hpp.

Go to the source code of this file.

#include <exception>
#include <string>
#include <string_view>
#include <grpcpp/support/status.h>
#include <grpcpp/support/status_code_enum.h>

Classes

class  ugrpc::server::BaseError
 Base exception for all the server errors. More...
 
class  ugrpc::server::RpcError
 Error during an RPC. More...
 
class  ugrpc::server::RpcInterruptedError
 RPC failed without a status. This means that either the call got cancelled using TryCancel, the deadline has expired, or the client disconnected. More...
 
class  ugrpc::server::ErrorWithStatus
 Users can throw ErrorWithStatus in their RPC's implementation to return provided status code as a result. More...
 

Namespaces

namespace  ugrpc
 Asynchronous gRPC driver.
 
namespace  ugrpc::server
 Server-side utilities.