Google APIs Client Library for C++
googleapis::util::error Namespace Reference

Enumerations

enum  Code {
  OK = 0, CANCELLED = 1, UNKNOWN = 2, INVALID_ARGUMENT = 3,
  DEADLINE_EXCEEDED = 4, NOT_FOUND = 5, ALREADY_EXISTS = 6, PERMISSION_DENIED = 7,
  RESOURCE_EXHAUSTED = 8, FAILED_PRECONDITION = 9, ABORTED = 10, OUT_OF_RANGE = 11,
  UNIMPLEMENTED = 12, INTERNAL = 13, UNAVAILABLE = 14, DATA_LOSS = 15
}

Variables

const Code Code_MIN = OK
 Smallest code value (inclusive).
const Code Code_MAX = DATA_LOSS
 Largest code value (inclusive).

Enumeration Type Documentation

enum Code
CodeIndented Purpose
OK Everything is fine; no error.
CANCELLED The operation has been cancelled.
UNKNOWN The cause of error is unknown.
INVALID_ARGUMENT The operation received an invalid argument.
DEADLINE_EXCEEDED The operation terminated early due to a deadline.
NOT_FOUND The requested resource or data element was missing.
ALREADY_EXISTS The resource or data element already exists.
PERMISSION_DENIED The caller has insufficient permission to perform the operation.
RESOURCE_EXHAUSTED Not enough resources (usually memory, disk etc) to perform the operation.
FAILED_PRECONDITION The caller did not meet the operation's requirements.
ABORTED The operation aborted prematurely for some reason.
OUT_OF_RANGE The requested resource or data element is not valid. Usually this refers to some index or key.
UNIMPLEMENTED The requestd operation is not fully implemented.
INTERNAL An error in the implementation was detected.
UNAVAILABLE Some resource or data is not available to perform the operation now.
DATA_LOSS The operation could not access all the data, or lost some along the way.
Enumerator:
OK 
CANCELLED 
UNKNOWN 
INVALID_ARGUMENT 
DEADLINE_EXCEEDED 
NOT_FOUND 
ALREADY_EXISTS 
PERMISSION_DENIED 
RESOURCE_EXHAUSTED 
FAILED_PRECONDITION 
ABORTED 
OUT_OF_RANGE 
UNIMPLEMENTED 
INTERNAL 
UNAVAILABLE 
DATA_LOSS 

Variable Documentation

Largest code value (inclusive).

const Code Code_MIN = OK

Smallest code value (inclusive).

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines