summaryrefslogtreecommitdiff
path: root/gnu-taler-error-codes/registry.rec
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-11-29 14:21:01 +0100
committerChristian Grothoff <christian@grothoff.org>2020-11-29 14:21:01 +0100
commit5b99295839cb107943f5c05ed9efd1d9cf0eb7cd (patch)
tree009d7f2f1c48a6070871c9d83b0fd3bc04595523 /gnu-taler-error-codes/registry.rec
parent8341d17cd88b1e88943f192a47fbc61ce925816c (diff)
new management error types for Taler exchange /management APIs
Diffstat (limited to 'gnu-taler-error-codes/registry.rec')
-rw-r--r--gnu-taler-error-codes/registry.rec90
1 files changed, 88 insertions, 2 deletions
diff --git a/gnu-taler-error-codes/registry.rec b/gnu-taler-error-codes/registry.rec
index e553b11..6c5643d 100644
--- a/gnu-taler-error-codes/registry.rec
+++ b/gnu-taler-error-codes/registry.rec
@@ -244,8 +244,6 @@ HttpStatus: 410
-
-
Value: 1100
Name: EXCHANGE_DEPOSITS_GET_NOT_FOUND
Description: The exchange did not find information about the specified transaction in the database.
@@ -606,6 +604,94 @@ Description: The helper refuses to sign with the key, because it is too early: t
HttpStatus: 400
+Value: 1800
+Name: EXCHANGE_MANAGEMENT_AUDITOR_NOT_FOUND
+Description: The auditor that was supposed to be disabled is unknown to this exchange.
+HttpStatus: 404
+
+Value: 1801
+Name: EXCHANGE_MANAGEMENT_AUDITOR_MORE_RECENT_PRESENT
+Description: The exchange has a more recently signed conflicting instruction and is thus refusing the current change (replay detected).
+HttpStatus: 409
+
+Value: 1802
+Name: EXCHANGE_MANAGEMENT_AUDITOR_ADD_SIGNATURE_INVALID
+Description: The signature to add or enable the auditor does not validate.
+HttpStatus: 403
+
+Value: 1803
+Name: EXCHANGE_MANAGEMENT_AUDITOR_DEL_SIGNATURE_INVALID
+Description: The signature to disable the auditor does not validate.
+HttpStatus: 403
+
+Value: 1804
+Name: EXCHANGE_MANAGEMENT_DENOMINATION_REVOKE_SIGNATURE_INVALID
+Description: The signature to revoke the denomination does not validate.
+HttpStatus: 403
+
+Value: 1805
+Name: EXCHANGE_MANAGEMENT_SIGNKEY_REVOKE_SIGNATURE_INVALID
+Description: The signature to revoke the online signing key does not validate.
+HttpStatus: 403
+
+Value: 1806
+Name: EXCHANGE_WIRE_MORE_RECENT_PRESENT
+Description: The exchange has a more recently signed conflicting instruction and is thus refusing the current change (replay detected).
+HttpStatus: 409
+
+Value: 1807
+Name: EXCHANGE_MANAGEMENT_KEYS_SIGNKEY_UNKNOWN
+Description: The signingkey specified is unknown to the exchange.
+HttpStatus: 404
+
+Value: 1808
+Name: EXCHANGE_MANAGEMENT_WIRE_DETAILS_SIGNATURE_INVALID
+Description: The signature to publish wire account does not validate.
+HttpStatus: 403
+
+Value: 1809
+Name: EXCHANGE_MANAGEMENT_WIRE_ADD_SIGNATURE_INVALID
+Description: The signature to add the wire account does not validate.
+HttpStatus: 403
+
+Value: 1810
+Name: EXCHANGE_MANAGEMENT_WIRE_DEL_SIGNATURE_INVALID
+Description: The signature to disable the wire account does not validate.
+HttpStatus: 403
+
+Value: 1810
+Name: EXCHANGE_MANAGEMENT_WIRE_NOT_FOUND
+Description: The wire account to be disabled is unknown to the exchange.
+HttpStatus: 404
+
+Value: 1811
+Name: EXCHANGE_MANAGEMENT_WIRE_FEE_SIGNATURE_INVALID
+Description: The signature to affirm wire fees does not validate.
+HttpStatus: 403
+
+Value: 1812
+Name: EXCHANGE_MANAGEMENT_WIRE_FEE_MISMATCH
+Description: The signature conflicts with a previous signature affirming different fees.
+HttpStatus: 409
+
+
+Value: 1900
+Name: EXCHANGE_AUDITORS_AUDITOR_SIGNATURE_INVALID
+Description: The auditor signature over the denomination meta data is invalid.
+HttpStatus: 403
+
+Value: 1901
+Name: EXCHANGE_AUDITORS_AUDITOR_UNKNOWN
+Description: The auditor that was specified is unknown to this exchange.
+HttpStatus: 412
+
+Value: 1902
+Name: EXCHANGE_AUDITORS_AUDITOR_INACTIVE
+Description: The auditor that was specified is no longer used by this exchange.
+HttpStatus: 410
+
+
+
# 2000 - 2999: Reserved for merchant
# 2000 - 2099: Reserved for MERCHANT_GENERIC