sync error codes

This commit is contained in:
Christian Grothoff 2019-11-15 09:39:13 +01:00
parent 77b0e836d1
commit 636b167655
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -1834,6 +1834,37 @@ enum TALER_ErrorCode
*/
TALER_EC_BANK_REJECT_NO_RIGHTS = 5200,
/**
* The sync service failed to access its database.
* This response is provided with HTTP status code
* MHD_HTTP_INTERNAL_ERROR.
*/
TALER_EC_SYNC_DB_FETCH_ERROR = 6000,
/**
* The sync service failed find the record in its database.
* This response is provided with HTTP status code
* MHD_HTTP_NOT_FOUND.
*/
TALER_EC_SYNC_BACKUP_UNKNOWN = 6001,
/**
* The sync service failed find the account in its database.
* This response is provided with HTTP status code
* MHD_HTTP_NOT_FOUND.
*/
TALER_EC_SYNC_ACCOUNT_UNKNOWN = 6002,
/**
* The Etag provided in the If-None-Match header is
* malformed.
* This response is provided with HTTP status code
* MHD_HTTP_BAD_REQUEST.
*/
TALER_EC_SYNC_BAD_ETAG = 6003,
/**
* End of error code range.
*/