aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-util/src/taler-error-codes.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2023-01-06 11:08:45 +0100
committerFlorian Dold <florian@dold.me>2023-01-06 11:08:45 +0100
commitc2c35925bb953bf07e32c005dbe312d220b45749 (patch)
tree2fcb5eb7ad737f6cba796a3f1bbc66f763e970a7 /packages/taler-util/src/taler-error-codes.ts
parent80639429a23c34bdfbb5f3853caf721b49fd6beb (diff)
downloadwallet-core-c2c35925bb953bf07e32c005dbe312d220b45749.tar.xz
wallet-core: allow failure result in peer payment coin selection
Diffstat (limited to 'packages/taler-util/src/taler-error-codes.ts')
-rw-r--r--packages/taler-util/src/taler-error-codes.ts8
1 files changed, 8 insertions, 0 deletions
diff --git a/packages/taler-util/src/taler-error-codes.ts b/packages/taler-util/src/taler-error-codes.ts
index 8bac5bffb..5e3c8fdfb 100644
--- a/packages/taler-util/src/taler-error-codes.ts
+++ b/packages/taler-util/src/taler-error-codes.ts
@@ -3241,6 +3241,14 @@ export enum TalerErrorCode {
/**
+ * The wallet does not have sufficient balance to create a peer push payment.
+ * Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ WALLET_PEER_PUSH_PAYMENT_INSUFFICIENT_BALANCE = 7027,
+
+
+ /**
* 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).