Link comment code entities

pull/10991/head
Mehrdad Afshari 8 years ago committed by Mehrdad Afshari
parent 65942421b4
commit 6a6747a906
  1. 10
      include/grpc++/support/error_details.h

@ -44,16 +44,16 @@ class Status;
namespace grpc {
/// Maps a grpc::Status to a google::rpc::Status.
/// Map a \a grpc::Status to a \a google::rpc::Status.
/// The given \a to object will be cleared.
/// On success, returns status with OK.
/// Returns status with INVALID_ARGUMENT, if failed to deserialize.
/// Returns status with FAILED_PRECONDITION, if \a to is nullptr.
/// Returns status with \a INVALID_ARGUMENT, if failed to deserialize.
/// Returns status with \a FAILED_PRECONDITION, if \a to is nullptr.
Status ExtractErrorDetails(const Status& from, ::google::rpc::Status* to);
/// Maps google::rpc::Status to a grpc::Status.
/// Map \a google::rpc::Status to a \a grpc::Status.
/// Returns OK on success.
/// Returns status with FAILED_PRECONDITION if \a to is nullptr.
/// Returns status with \a FAILED_PRECONDITION if \a to is nullptr.
Status SetErrorDetails(const ::google::rpc::Status& from, Status* to);
} // namespace grpc

Loading…
Cancel
Save