diff options
author | hor911 <hor911@ydb.tech> | 2022-07-12 13:34:58 +0300 |
---|---|---|
committer | hor911 <hor911@ydb.tech> | 2022-07-12 13:34:58 +0300 |
commit | dac0ededbf65f30a1e52f01bd02e68eddf46ebb6 (patch) | |
tree | 2468c71ea8d0b6800c723208223a8c64dc8603d4 /library/cpp/grpc/server/grpc_request_base.h | |
parent | 8024ad9845857b76925a9179c32ab7b955e87f17 (diff) | |
download | ydb-dac0ededbf65f30a1e52f01bd02e68eddf46ebb6.tar.gz |
Use grpc::Status::details
Diffstat (limited to 'library/cpp/grpc/server/grpc_request_base.h')
-rw-r--r-- | library/cpp/grpc/server/grpc_request_base.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/cpp/grpc/server/grpc_request_base.h b/library/cpp/grpc/server/grpc_request_base.h index fcfce1c181..8827d028b3 100644 --- a/library/cpp/grpc/server/grpc_request_base.h +++ b/library/cpp/grpc/server/grpc_request_base.h @@ -68,7 +68,7 @@ public: virtual void ReplyUnauthenticated(const TString& in) = 0; //! Send grpc error - virtual void ReplyError(grpc::StatusCode code, const TString& msg) = 0; + virtual void ReplyError(grpc::StatusCode code, const TString& msg, const TString& details = "") = 0; //! Returns deadline (server epoch related) if peer set it on its side, or Instanse::Max() otherwise virtual TInstant Deadline() const = 0; |