diff options
author | MS <ms@taler.net> | 2023-09-29 10:39:21 +0200 |
---|---|---|
committer | MS <ms@taler.net> | 2023-09-29 10:39:21 +0200 |
commit | e9015f67dd6674680a0137b6ef8a04e08a8613e3 (patch) | |
tree | 00c9b50370f059de24f3c4ac0891df838d9b3840 | |
parent | 64244e85f34d3090ab60ab07c33d8c0de29ab161 (diff) | |
download | gana-e9015f67dd6674680a0137b6ef8a04e08a8613e3.tar.gz gana-e9015f67dd6674680a0137b6ef8a04e08a8613e3.zip |
libeufin-bank error codes.
-rw-r--r-- | gnu-taler-error-codes/registry.rec | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/gnu-taler-error-codes/registry.rec b/gnu-taler-error-codes/registry.rec index ef29964..1815eb0 100644 --- a/gnu-taler-error-codes/registry.rec +++ b/gnu-taler-error-codes/registry.rec | |||
@@ -120,6 +120,10 @@ Name: GENERIC_RESERVE_PUB_MALFORMED | |||
120 | Description: The reserve public key given as part of a /reserves/ endpoint was malformed. | 120 | Description: The reserve public key given as part of a /reserves/ endpoint was malformed. |
121 | HttpStatus: 400 | 121 | HttpStatus: 400 |
122 | 122 | ||
123 | Value: 28 | ||
124 | Name: GENERIC_COMPRESSION_INVALID | ||
125 | Description: The body in the request could not be decompressed by the server. | ||
126 | HttpStatus: 400 | ||
123 | 127 | ||
124 | # Circumstantial client-side protocol problems (30-39) | 128 | # Circumstantial client-side protocol problems (30-39) |
125 | # (Circumstantial == may work with another server, but not this one) | 129 | # (Circumstantial == may work with another server, but not this one) |
@@ -161,6 +165,10 @@ Name: GENERIC_TOKEN_MALFORMED | |||
161 | Description: The service refused the request as the given authorization token is malformed. | 165 | Description: The service refused the request as the given authorization token is malformed. |
162 | HttpStatus: 401 | 166 | HttpStatus: 401 |
163 | 167 | ||
168 | Value: 44 | ||
169 | Name: GENERIC_FORBIDDEN | ||
170 | Description: The service refused the request due to lack of proper rights on the resource. | ||
171 | HttpStatus: 403 | ||
164 | 172 | ||
165 | # Server-side database problems (50-59) | 173 | # Server-side database problems (50-59) |
166 | 174 | ||
@@ -2104,11 +2112,6 @@ Name: BANK_NUMBER_TOO_BIG | |||
2104 | Description: A too big number was used (as value and/or fraction) to instantiate an amount object. | 2112 | Description: A too big number was used (as value and/or fraction) to instantiate an amount object. |
2105 | HttpStatus: 400 | 2113 | HttpStatus: 400 |
2106 | 2114 | ||
2107 | Value: 5105 | ||
2108 | Name: BANK_LOGIN_FAILED | ||
2109 | Description: Could not login for the requested operation. | ||
2110 | HttpStatus: 403 | ||
2111 | |||
2112 | Value: 5106 | 2115 | Value: 5106 |
2113 | Name: BANK_UNKNOWN_ACCOUNT | 2116 | Name: BANK_UNKNOWN_ACCOUNT |
2114 | Description: The bank account referenced in the requested operation was not found. | 2117 | Description: The bank account referenced in the requested operation was not found. |
@@ -2179,6 +2182,12 @@ Name: BANK_POST_WITHDRAWAL_OPERATION_REQUIRED | |||
2179 | Description: The client attempted to confirm a withdrawal operation before the wallet posted the required details. | 2182 | Description: The client attempted to confirm a withdrawal operation before the wallet posted the required details. |
2180 | HttpStatus: 400 | 2183 | HttpStatus: 400 |
2181 | 2184 | ||
2185 | Value: 5120 | ||
2186 | Name: BANK_RESERVED_USERNAME_CONFLICT | ||
2187 | Description: The client tried to register a new account under a reserved username (like 'admin' for example). | ||
2188 | HttpStatus: 409 | ||
2189 | |||
2190 | |||
2182 | 2191 | ||
2183 | # 6000 - 6999: Reserved for sync | 2192 | # 6000 - 6999: Reserved for sync |
2184 | # 6000 - 6099: Reserved for SYNC_GENERIC | 2193 | # 6000 - 6099: Reserved for SYNC_GENERIC |