summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-11-15 09:39:13 +0100
committerChristian Grothoff <christian@grothoff.org>2019-11-15 09:39:13 +0100
commit636b167655be4656af5c5aeba2a8336ed4e73e89 (patch)
tree9b39008ef2e18cc4065bd08c820881982dec5202
parent77b0e836d1ca5b1aec45ba6c4c901153a22ab196 (diff)
downloadexchange-636b167655be4656af5c5aeba2a8336ed4e73e89.tar.gz
exchange-636b167655be4656af5c5aeba2a8336ed4e73e89.tar.bz2
exchange-636b167655be4656af5c5aeba2a8336ed4e73e89.zip
sync error codes
-rw-r--r--src/include/taler_error_codes.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/include/taler_error_codes.h b/src/include/taler_error_codes.h
index 7e093c3ba..8f3a29ecc 100644
--- a/src/include/taler_error_codes.h
+++ b/src/include/taler_error_codes.h
@@ -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.
*/