diff options
author | Philip Withnall <philip@tecnocode.co.uk> | 2014-08-31 01:01:57 +0100 |
---|---|---|
committer | Philip Withnall <philip@tecnocode.co.uk> | 2014-09-18 00:22:05 +0100 |
commit | ef593215455ad8d4766ff8aef61b230c58a3c3d3 (patch) | |
tree | 130bc4382dfa6a84fbe25a7c1e2c9cdbed637ea3 | |
parent | 574b54eb1cf9748ea58323037d68d2c0497da1eb (diff) | |
download | libgdata-ef593215455ad8d4766ff8aef61b230c58a3c3d3.tar.gz |
core: Add an error code in GDataServiceError for exceeding the API quota
This adds API:
• GDATA_SERVICE_ERROR_API_QUOTA_EXCEEDED
-rw-r--r-- | gdata/gdata-service.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gdata/gdata-service.h b/gdata/gdata-service.h index 4bfb1c13..1d536f9b 100644 --- a/gdata/gdata-service.h +++ b/gdata/gdata-service.h @@ -70,6 +70,9 @@ typedef enum { * @GDATA_SERVICE_ERROR_NETWORK_ERROR: The service is unavailable due to local network errors (e.g. no Internet connection) * @GDATA_SERVICE_ERROR_PROXY_ERROR: The service is unavailable due to proxy network errors (e.g. proxy unreachable) * @GDATA_SERVICE_ERROR_WITH_BATCH_OPERATION: Generic error when running a batch operation and the whole operation fails + * @GDATA_SERVICE_ERROR_API_QUOTA_EXCEEDED: The API request quota for this + * developer account has been exceeded for the current time period (e.g. day). + * Try again later. (Since: UNRELEASED.) * * Error codes for #GDataService operations. **/ @@ -84,7 +87,8 @@ typedef enum { GDATA_SERVICE_ERROR_BAD_QUERY_PARAMETER, GDATA_SERVICE_ERROR_NETWORK_ERROR, GDATA_SERVICE_ERROR_PROXY_ERROR, - GDATA_SERVICE_ERROR_WITH_BATCH_OPERATION + GDATA_SERVICE_ERROR_WITH_BATCH_OPERATION, + GDATA_SERVICE_ERROR_API_QUOTA_EXCEEDED, } GDataServiceError; /** |