Google APIs Client Library for C++
|
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). |
enum Code |
Code | Indented 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. |