Google Cloud C++ Client  0.4.0
C++ Client Library for Google Cloud Platform
Classes | Namespaces | Enumerations | Functions
status.h File Reference
#include "google/cloud/version.h"
#include <iostream>
#include <tuple>

Go to the source code of this file.

Classes

class  google::cloud::v0::Status
 Reports error code and details from a remote request. More...
 
class  google::cloud::v0::RuntimeStatusError
 

Namespaces

 google
 
 google::cloud
 Contains all the Google Cloud C++ Library APIs.
 
 google::cloud::v0
 The Google Cloud C++ Library inlined, versioned namespace.
 

Enumerations

enum  google::cloud::v0::StatusCode {
  google::cloud::v0::StatusCode::kOk = 0, google::cloud::v0::StatusCode::kCancelled = 1, google::cloud::v0::StatusCode::kUnknown = 2, google::cloud::v0::StatusCode::kInvalidArgument = 3,
  google::cloud::v0::StatusCode::kDeadlineExceeded = 4, google::cloud::v0::StatusCode::kNotFound = 5, google::cloud::v0::StatusCode::kAlreadyExists = 6, google::cloud::v0::StatusCode::kPermissionDenied = 7,
  google::cloud::v0::StatusCode::kUnauthenticated = 16, google::cloud::v0::StatusCode::kResourceExhausted = 8, google::cloud::v0::StatusCode::kFailedPrecondition = 9, google::cloud::v0::StatusCode::kAborted = 10,
  google::cloud::v0::StatusCode::kOutOfRange = 11, google::cloud::v0::StatusCode::kUnimplemented = 12, google::cloud::v0::StatusCode::kInternal = 13, google::cloud::v0::StatusCode::kUnavailable = 14,
  google::cloud::v0::StatusCode::kDataLoss = 15, google::cloud::v0::StatusCode::kDoNotUse = -1
}
 Well-known status codes with grpc::StatusCode-compatible values. More...
 

Functions

std::string google::cloud::v0::StatusCodeToString (StatusCode code)
 
std::ostream & google::cloud::v0::operator<< (std::ostream &os, StatusCode code)
 
std::ostream & google::cloud::v0::operator<< (std::ostream &os, Status const &rhs)