summaryrefslogtreecommitdiff
path: root/src/include/taler_error_codes.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-11-16 10:05:57 +0100
committerChristian Grothoff <christian@grothoff.org>2019-11-16 10:05:57 +0100
commit7b353c01856d75651233840f95ac028a1d47ec6d (patch)
treeaa6c4eaf8231def6ab1f8efa29a2aba7fb9852b9 /src/include/taler_error_codes.h
parent48ff93626cb9d6c54806b2da3f829c5da39da213 (diff)
parent44bccda22b90d4edfac993ded78a3e6a83787d5a (diff)
downloadexchange-7b353c01856d75651233840f95ac028a1d47ec6d.tar.gz
exchange-7b353c01856d75651233840f95ac028a1d47ec6d.tar.bz2
exchange-7b353c01856d75651233840f95ac028a1d47ec6d.zip
merge
Diffstat (limited to 'src/include/taler_error_codes.h')
-rw-r--r--src/include/taler_error_codes.h44
1 files changed, 44 insertions, 0 deletions
diff --git a/src/include/taler_error_codes.h b/src/include/taler_error_codes.h
index 7e093c3ba..2212fdb00 100644
--- a/src/include/taler_error_codes.h
+++ b/src/include/taler_error_codes.h
@@ -1827,6 +1827,12 @@ enum TALER_ErrorCode
*/
TALER_EC_BANK_TRANSACTION_NOT_FOUND = 5111,
+
+ /**
+ * Bank received a malformed amount string.
+ */
+ TALER_EC_BANK_BAD_FORMAT_AMOUNT = 5112,
+
/**
* The client does not own the account credited by the transaction
* which is to be rejected, so it has no rights do reject it. To be
@@ -1834,6 +1840,44 @@ enum TALER_ErrorCode
*/
TALER_EC_BANK_REJECT_NO_RIGHTS = 5200,
+
+ /**
+ * This error code is returned when no known exception types
+ * captured the exception.
+ */
+ TALER_EC_BANK_UNMANAGED_EXCEPTION = 5300,
+
+
+ /**
+ * 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.
*/