15#ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_GRPC_ERROR_DELEGATE_H
16#define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_GRPC_ERROR_DELEGATE_H
18#include "google/cloud/status.h"
19#include "google/cloud/version.h"
20#include <google/rpc/status.pb.h>
21#include <grpcpp/grpcpp.h>
29
30
34
35
40
41
42
43
44
45
Represents success or an error with info about the error.
Definition: status.h:295
Contains all the Google Cloud C++ Library APIs.
Definition: async_operation.h:23
google::cloud::Status MakeStatusFromRpcError(grpc::Status const &status)
Creates a google::cloud::Status from a grpc::Status.
google::cloud::Status MakeStatusFromRpcError(grpc::StatusCode code, std::string what)
Creates a google::cloud::Status from a grpc::StatusCode and description.
google::cloud::Status MakeStatusFromRpcError(google::rpc::Status const &proto)
Creates a google::cloud::Status from a google:rpc::Status proto.
Definition: async_operation.h:22
#define GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
Definition: version.h:45
#define GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_BEGIN
Definition: version.h:43