#include <userver/ugrpc/server/exceptions.hpp>
Users can throw ErrorWithStatus in their RPC's implementation to return provided status code as a result.
Definition at line 45 of file exceptions.hpp.
|
| ErrorWithStatus (grpc::Status status) |
|
| ErrorWithStatus (grpc::StatusCode status_code, std::string message) |
|
const grpc::Status & | GetStatus () const |
|
grpc::Status && | ExtractStatus () |
|
const char * | what () const noexcept override |
|
The documentation for this class was generated from the following file: