diff options
Diffstat (limited to 'src/include/taler_error_codes.h')
-rw-r--r-- | src/include/taler_error_codes.h | 55 |
1 files changed, 2 insertions, 53 deletions
diff --git a/src/include/taler_error_codes.h b/src/include/taler_error_codes.h index b490f2bb0..3a5ef4ae1 100644 --- a/src/include/taler_error_codes.h +++ b/src/include/taler_error_codes.h | |||
@@ -937,12 +937,13 @@ enum TALER_ErrorCode | |||
937 | * in the request. This response is | 937 | * in the request. This response is |
938 | * provided with HTTP status code MHD_HTTP_NOT_FOUND. | 938 | * provided with HTTP status code MHD_HTTP_NOT_FOUND. |
939 | */ | 939 | */ |
940 | TALER_EC_CONTRACT_INSTANCE_UNKNOWN = 2000, | 940 | TALER_EC_INSTANCE_UNKNOWN = 2000, |
941 | 941 | ||
942 | /** | 942 | /** |
943 | * The frontend specified two different instances within | 943 | * The frontend specified two different instances within |
944 | * the same order: one in the top level, and the other one | 944 | * the same order: one in the top level, and the other one |
945 | * within the 'merchant' object. | 945 | * within the 'merchant' object. |
946 | * FIXME: hopefully this one is now obsolete? | ||
946 | */ | 947 | */ |
947 | TALER_EC_CONTRACT_INSTANCE_INCONSISTENT = 2001, | 948 | TALER_EC_CONTRACT_INSTANCE_INCONSISTENT = 2001, |
948 | 949 | ||
@@ -1026,13 +1027,6 @@ enum TALER_ErrorCode | |||
1026 | TALER_EC_PAY_EXCHANGE_TIMEOUT = 2111, | 1027 | TALER_EC_PAY_EXCHANGE_TIMEOUT = 2111, |
1027 | 1028 | ||
1028 | /** | 1029 | /** |
1029 | * The backend could not find the merchant instance specified | ||
1030 | * in the request. This response is | ||
1031 | * provided with HTTP status code MHD_HTTP_NOT_FOUND. | ||
1032 | */ | ||
1033 | TALER_EC_PAY_INSTANCE_UNKNOWN = 2112, | ||
1034 | |||
1035 | /** | ||
1036 | * The signature over the contract of the merchant | 1030 | * The signature over the contract of the merchant |
1037 | * was invalid. This response is provided with HTTP status code | 1031 | * was invalid. This response is provided with HTTP status code |
1038 | * MHD_HTTP_BAD_REQUEST. | 1032 | * MHD_HTTP_BAD_REQUEST. |
@@ -1149,12 +1143,6 @@ enum TALER_ErrorCode | |||
1149 | TALER_EC_HISTORY_DB_FETCH_ERROR = 2201, | 1143 | TALER_EC_HISTORY_DB_FETCH_ERROR = 2201, |
1150 | 1144 | ||
1151 | /** | 1145 | /** |
1152 | * Instance used to retrieve history is unknown to the | ||
1153 | * merchant. | ||
1154 | */ | ||
1155 | TALER_EC_HISTORY_INSTANCE_UNKNOWN = 2202, | ||
1156 | |||
1157 | /** | ||
1158 | * We failed to contact the exchange for the /track/transaction | 1146 | * We failed to contact the exchange for the /track/transaction |
1159 | * request. This response is provided with HTTP status code | 1147 | * request. This response is provided with HTTP status code |
1160 | * MHD_HTTP_SERVICE_UNAVAILABLE. | 1148 | * MHD_HTTP_SERVICE_UNAVAILABLE. |
@@ -1162,13 +1150,6 @@ enum TALER_ErrorCode | |||
1162 | TALER_EC_TRACK_TRANSACTION_EXCHANGE_TIMEOUT = 2300, | 1150 | TALER_EC_TRACK_TRANSACTION_EXCHANGE_TIMEOUT = 2300, |
1163 | 1151 | ||
1164 | /** | 1152 | /** |
1165 | * The backend could not find the merchant instance specified | ||
1166 | * in the request. This response is | ||
1167 | * provided with HTTP status code MHD_HTTP_NOT_FOUND. | ||
1168 | */ | ||
1169 | TALER_EC_TRACK_TRANSACTION_INSTANCE_UNKNOWN = 2301, | ||
1170 | |||
1171 | /** | ||
1172 | * The backend could not find the transaction specified | 1153 | * The backend could not find the transaction specified |
1173 | * in the request. This response is | 1154 | * in the request. This response is |
1174 | * provided with HTTP status code MHD_HTTP_NOT_FOUND. | 1155 | * provided with HTTP status code MHD_HTTP_NOT_FOUND. |
@@ -1234,13 +1215,6 @@ enum TALER_ErrorCode | |||
1234 | TALER_EC_TRACK_TRANSFER_EXCHANGE_TIMEOUT = 2400, | 1215 | TALER_EC_TRACK_TRANSFER_EXCHANGE_TIMEOUT = 2400, |
1235 | 1216 | ||
1236 | /** | 1217 | /** |
1237 | * The backend could not find the merchant instance specified | ||
1238 | * in the request. This response is | ||
1239 | * provided with HTTP status code MHD_HTTP_NOT_FOUND. | ||
1240 | */ | ||
1241 | TALER_EC_TRACK_TRANSFER_INSTANCE_UNKNOWN = 2401, | ||
1242 | |||
1243 | /** | ||
1244 | * We failed to persist coin wire transfer information in | 1218 | * We failed to persist coin wire transfer information in |
1245 | * our merchant database. | 1219 | * our merchant database. |
1246 | * The response is | 1220 | * The response is |
@@ -1366,11 +1340,6 @@ enum TALER_ErrorCode | |||
1366 | 1340 | ||
1367 | 1341 | ||
1368 | /** | 1342 | /** |
1369 | * The client specified an unknown instance for any of the /refund operations | ||
1370 | */ | ||
1371 | TALER_EC_REFUND_INSTANCE_UNKNOWN = 2600, | ||
1372 | |||
1373 | /** | ||
1374 | * The frontend gave an unknown order id to issue the refund to. | 1343 | * The frontend gave an unknown order id to issue the refund to. |
1375 | */ | 1344 | */ |
1376 | TALER_EC_REFUND_ORDER_ID_UNKNOWN = 2601, | 1345 | TALER_EC_REFUND_ORDER_ID_UNKNOWN = 2601, |
@@ -1409,13 +1378,6 @@ enum TALER_ErrorCode | |||
1409 | 1378 | ||
1410 | 1379 | ||
1411 | /** | 1380 | /** |
1412 | * The backend does not know the instance that was supposed to support | ||
1413 | * the tip. Likely to be a configuration error. Returned with an | ||
1414 | * HTTP status code of "NOT FOUND". | ||
1415 | */ | ||
1416 | TALER_EC_TIP_AUTHORIZE_INSTANCE_UNKNOWN = 2700, | ||
1417 | |||
1418 | /** | ||
1419 | * The backend knows the instance that was supposed to support the | 1381 | * The backend knows the instance that was supposed to support the |
1420 | * tip, but it was not configured for tipping (i.e. has no exchange | 1382 | * tip, but it was not configured for tipping (i.e. has no exchange |
1421 | * associated with it). Likely to be a configuration | 1383 | * associated with it). Likely to be a configuration |
@@ -1596,19 +1558,6 @@ enum TALER_ErrorCode | |||
1596 | TALER_EC_TIP_QUERY_TIP_ID_UNKNOWN = 2810, | 1558 | TALER_EC_TIP_QUERY_TIP_ID_UNKNOWN = 2810, |
1597 | 1559 | ||
1598 | /** | 1560 | /** |
1599 | * The backend could not find the merchant instance specified | ||
1600 | * in the request. This response is | ||
1601 | * provided with HTTP status code MHD_HTTP_NOT_FOUND. | ||
1602 | */ | ||
1603 | TALER_EC_TIP_INSTANCE_UNKNOWN = 2811, | ||
1604 | |||
1605 | /** | ||
1606 | * The instance for check-payment is unknown, likely | ||
1607 | * a buggy frontend or misconfigured instances. | ||
1608 | */ | ||
1609 | TALER_EC_CHECK_PAYMENT_INSTANCE_UNKNOWN = 2910, | ||
1610 | |||
1611 | /** | ||
1612 | * We failed to contract terms from our merchant database. | 1561 | * We failed to contract terms from our merchant database. |
1613 | * The response is provided with HTTP status code | 1562 | * The response is provided with HTTP status code |
1614 | * MHD_HTTP_INTERNAL_SERVER_ERROR. | 1563 | * MHD_HTTP_INTERNAL_SERVER_ERROR. |