aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-util/src/taler-error-codes.ts
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2023-07-03 12:40:35 -0300
committerSebastian <sebasjm@gmail.com>2023-07-03 12:40:35 -0300
commitf47b5bd783def7481233f94275e333365d50b08b (patch)
tree26fda24f36c02cce2c2aed6a937ec315e1a47615 /packages/taler-util/src/taler-error-codes.ts
parent15a15942d2160e7742ccb415554c87057da7afc2 (diff)
downloadwallet-core-f47b5bd783def7481233f94275e333365d50b08b.tar.xz
#7741 share payment
add shared flag in db new state purchase dialogShared new error WALLET_ORDER_ALREADY_PAID removing nonce from normal operation new operation: sharePayment which returns payUri with nonce
Diffstat (limited to 'packages/taler-util/src/taler-error-codes.ts')
-rw-r--r--packages/taler-util/src/taler-error-codes.ts24
1 files changed, 24 insertions, 0 deletions
diff --git a/packages/taler-util/src/taler-error-codes.ts b/packages/taler-util/src/taler-error-codes.ts
index 019129c20..fa1f4a86a 100644
--- a/packages/taler-util/src/taler-error-codes.ts
+++ b/packages/taler-util/src/taler-error-codes.ts
@@ -777,6 +777,14 @@ export enum TalerErrorCode {
/**
+ * The maximum age in the commitment is too large for the reserve
+ * Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ EXCHANGE_AGE_WITHDRAW_MAXIMUM_AGE_TOO_LARGE = 1165,
+
+
+ /**
* The batch withdraw included a planchet that was already withdrawn. This is not allowed.
* Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
* (A value of 0 indicates that the error is generated client-side).
@@ -1329,6 +1337,14 @@ export enum TalerErrorCode {
/**
+ * Withdrawal from the reserve requires age restriction to be set.
+ * Returned with an HTTP status code of #MHD_HTTP_FORBIDDEN (403).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ EXCHANGE_RESERVES_AGE_RESTRICTION_REQUIRED = 1681,
+
+
+ /**
* The exchange failed to talk to the process responsible for its private denomination keys or the helpers had no denominations (properly) configured.
* Returned with an HTTP status code of #MHD_HTTP_BAD_GATEWAY (502).
* (A value of 0 indicates that the error is generated client-side).
@@ -3569,6 +3585,14 @@ export enum TalerErrorCode {
/**
+ * The order has already been paid by another wallet.
+ * Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ WALLET_ORDER_ALREADY_PAID = 7031,
+
+
+ /**
* We encountered a timeout with our payment backend.
* Returned with an HTTP status code of #MHD_HTTP_GATEWAY_TIMEOUT (504).
* (A value of 0 indicates that the error is generated client-side).