summaryrefslogtreecommitdiff
path: root/src/include/taler_error_codes.h
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-01-21 16:13:22 +0100
committerFlorian Dold <florian.dold@gmail.com>2020-01-21 16:13:22 +0100
commit975d9c9d15e5b6694639e55c7d73d4d86fc48cab (patch)
treee27b0f93168b774bdb7bd3c416dd627fa8562977 /src/include/taler_error_codes.h
parent4c8f7799da3c5d4779b5e39d8a280e3e54588470 (diff)
downloadexchange-975d9c9d15e5b6694639e55c7d73d4d86fc48cab.tar.gz
exchange-975d9c9d15e5b6694639e55c7d73d4d86fc48cab.tar.bz2
exchange-975d9c9d15e5b6694639e55c7d73d4d86fc48cab.zip
make sure request_uid is actually unique
Allowing duplicate request_uid for different transfer details means that somebody might eventually rely on this, which is bad. They should really be unique, it makes tracing easier.
Diffstat (limited to 'src/include/taler_error_codes.h')
-rw-r--r--src/include/taler_error_codes.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/include/taler_error_codes.h b/src/include/taler_error_codes.h
index 3833e7a4..ac7f9288 100644
--- a/src/include/taler_error_codes.h
+++ b/src/include/taler_error_codes.h
@@ -1736,6 +1736,12 @@ enum TALER_ErrorCode
TALER_EC_BANK_SOFT_EXCEPTION = 5400,
/**
+ * The request UID for a request to transfer funds has already been
+ * used, but with different details for the transfer.
+ */
+ TALER_EC_BANK_TRANSFER_REQUEST_UID_REUSED = 5500,
+
+ /**
* The sync service failed to access its database. This response is
* provided with HTTP status code MHD_HTTP_INTERNAL_SERVER_ERROR.
*/