diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-11-29 14:21:01 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-11-29 14:21:01 +0100 |
commit | 5b99295839cb107943f5c05ed9efd1d9cf0eb7cd (patch) | |
tree | 009d7f2f1c48a6070871c9d83b0fd3bc04595523 /gnu-taler-error-codes | |
parent | 8341d17cd88b1e88943f192a47fbc61ce925816c (diff) | |
download | gana-5b99295839cb107943f5c05ed9efd1d9cf0eb7cd.tar.gz gana-5b99295839cb107943f5c05ed9efd1d9cf0eb7cd.zip |
new management error types for Taler exchange /management APIs
Diffstat (limited to 'gnu-taler-error-codes')
-rw-r--r-- | gnu-taler-error-codes/registry.rec | 90 |
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 | |||
244 | 244 | ||
245 | 245 | ||
246 | 246 | ||
247 | |||
248 | |||
249 | Value: 1100 | 247 | Value: 1100 |
250 | Name: EXCHANGE_DEPOSITS_GET_NOT_FOUND | 248 | Name: EXCHANGE_DEPOSITS_GET_NOT_FOUND |
251 | Description: The exchange did not find information about the specified transaction in the database. | 249 | 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 | |||
606 | HttpStatus: 400 | 604 | HttpStatus: 400 |
607 | 605 | ||
608 | 606 | ||
607 | Value: 1800 | ||
608 | Name: EXCHANGE_MANAGEMENT_AUDITOR_NOT_FOUND | ||
609 | Description: The auditor that was supposed to be disabled is unknown to this exchange. | ||
610 | HttpStatus: 404 | ||
611 | |||
612 | Value: 1801 | ||
613 | Name: EXCHANGE_MANAGEMENT_AUDITOR_MORE_RECENT_PRESENT | ||
614 | Description: The exchange has a more recently signed conflicting instruction and is thus refusing the current change (replay detected). | ||
615 | HttpStatus: 409 | ||
616 | |||
617 | Value: 1802 | ||
618 | Name: EXCHANGE_MANAGEMENT_AUDITOR_ADD_SIGNATURE_INVALID | ||
619 | Description: The signature to add or enable the auditor does not validate. | ||
620 | HttpStatus: 403 | ||
621 | |||
622 | Value: 1803 | ||
623 | Name: EXCHANGE_MANAGEMENT_AUDITOR_DEL_SIGNATURE_INVALID | ||
624 | Description: The signature to disable the auditor does not validate. | ||
625 | HttpStatus: 403 | ||
626 | |||
627 | Value: 1804 | ||
628 | Name: EXCHANGE_MANAGEMENT_DENOMINATION_REVOKE_SIGNATURE_INVALID | ||
629 | Description: The signature to revoke the denomination does not validate. | ||
630 | HttpStatus: 403 | ||
631 | |||
632 | Value: 1805 | ||
633 | Name: EXCHANGE_MANAGEMENT_SIGNKEY_REVOKE_SIGNATURE_INVALID | ||
634 | Description: The signature to revoke the online signing key does not validate. | ||
635 | HttpStatus: 403 | ||
636 | |||
637 | Value: 1806 | ||
638 | Name: EXCHANGE_WIRE_MORE_RECENT_PRESENT | ||
639 | Description: The exchange has a more recently signed conflicting instruction and is thus refusing the current change (replay detected). | ||
640 | HttpStatus: 409 | ||
641 | |||
642 | Value: 1807 | ||
643 | Name: EXCHANGE_MANAGEMENT_KEYS_SIGNKEY_UNKNOWN | ||
644 | Description: The signingkey specified is unknown to the exchange. | ||
645 | HttpStatus: 404 | ||
646 | |||
647 | Value: 1808 | ||
648 | Name: EXCHANGE_MANAGEMENT_WIRE_DETAILS_SIGNATURE_INVALID | ||
649 | Description: The signature to publish wire account does not validate. | ||
650 | HttpStatus: 403 | ||
651 | |||
652 | Value: 1809 | ||
653 | Name: EXCHANGE_MANAGEMENT_WIRE_ADD_SIGNATURE_INVALID | ||
654 | Description: The signature to add the wire account does not validate. | ||
655 | HttpStatus: 403 | ||
656 | |||
657 | Value: 1810 | ||
658 | Name: EXCHANGE_MANAGEMENT_WIRE_DEL_SIGNATURE_INVALID | ||
659 | Description: The signature to disable the wire account does not validate. | ||
660 | HttpStatus: 403 | ||
661 | |||
662 | Value: 1810 | ||
663 | Name: EXCHANGE_MANAGEMENT_WIRE_NOT_FOUND | ||
664 | Description: The wire account to be disabled is unknown to the exchange. | ||
665 | HttpStatus: 404 | ||
666 | |||
667 | Value: 1811 | ||
668 | Name: EXCHANGE_MANAGEMENT_WIRE_FEE_SIGNATURE_INVALID | ||
669 | Description: The signature to affirm wire fees does not validate. | ||
670 | HttpStatus: 403 | ||
671 | |||
672 | Value: 1812 | ||
673 | Name: EXCHANGE_MANAGEMENT_WIRE_FEE_MISMATCH | ||
674 | Description: The signature conflicts with a previous signature affirming different fees. | ||
675 | HttpStatus: 409 | ||
676 | |||
677 | |||
678 | Value: 1900 | ||
679 | Name: EXCHANGE_AUDITORS_AUDITOR_SIGNATURE_INVALID | ||
680 | Description: The auditor signature over the denomination meta data is invalid. | ||
681 | HttpStatus: 403 | ||
682 | |||
683 | Value: 1901 | ||
684 | Name: EXCHANGE_AUDITORS_AUDITOR_UNKNOWN | ||
685 | Description: The auditor that was specified is unknown to this exchange. | ||
686 | HttpStatus: 412 | ||
687 | |||
688 | Value: 1902 | ||
689 | Name: EXCHANGE_AUDITORS_AUDITOR_INACTIVE | ||
690 | Description: The auditor that was specified is no longer used by this exchange. | ||
691 | HttpStatus: 410 | ||
692 | |||
693 | |||
694 | |||
609 | 695 | ||
610 | # 2000 - 2999: Reserved for merchant | 696 | # 2000 - 2999: Reserved for merchant |
611 | # 2000 - 2099: Reserved for MERCHANT_GENERIC | 697 | # 2000 - 2099: Reserved for MERCHANT_GENERIC |