aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2019-11-16 02:36:53 +0100
committerMarcello Stanisci <stanisci.m@gmail.com>2019-11-16 02:36:53 +0100
commit44bccda22b90d4edfac993ded78a3e6a83787d5a (patch)
treeaa6c4eaf8231def6ab1f8efa29a2aba7fb9852b9 /src
parent636b167655be4656af5c5aeba2a8336ed4e73e89 (diff)
new error codes (bank)
Diffstat (limited to 'src')
-rw-r--r--src/include/taler_error_codes.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/include/taler_error_codes.h b/src/include/taler_error_codes.h
index 8f3a29ecc..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
@@ -1836,6 +1842,13 @@ enum TALER_ErrorCode
/**
+ * 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.