Google Cloud C++ Client  1.42.0
C++ Client Library for Google Cloud Platform
Classes | Namespaces | Enumerations | Functions
status.h File Reference
#include "google/cloud/version.h"
#include "absl/types/optional.h"
#include <iostream>
#include <memory>
#include <string>
#include <unordered_map>

Go to the source code of this file.

Classes

class  google::cloud::ErrorInfo
 Describes the cause of the error with structured details. More...
 
class  google::cloud::Status
 Represents success or an error with info about the error. More...
 
class  google::cloud::RuntimeStatusError
 A runtime error that wraps a google::cloud::Status. More...
 

Namespaces

 google
 
 google::cloud
 Contains all the Google Cloud C++ Library APIs.
 

Enumerations

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

Functions

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