diff options
Diffstat (limited to 'src/include/taler_error_codes.h')
-rw-r--r-- | src/include/taler_error_codes.h | 45 |
1 files changed, 32 insertions, 13 deletions
diff --git a/src/include/taler_error_codes.h b/src/include/taler_error_codes.h index 74660303d..eded23339 100644 --- a/src/include/taler_error_codes.h +++ b/src/include/taler_error_codes.h | |||
@@ -1542,73 +1542,92 @@ enum TALER_ErrorCode | |||
1542 | * This response is provided with HTTP status code | 1542 | * This response is provided with HTTP status code |
1543 | * #MHD_HTTP_SERVICE_UNAVAILABLE. | 1543 | * #MHD_HTTP_SERVICE_UNAVAILABLE. |
1544 | */ | 1544 | */ |
1545 | TALER_EC_TRACK_TRANSFER_EXCHANGE_TIMEOUT = 2400, | 1545 | TALER_EC_POST_TRANSFERS_EXCHANGE_TIMEOUT = 2400, |
1546 | 1546 | ||
1547 | /** | 1547 | /** |
1548 | * We failed to obtain an acceptable /keys response from the exchange | 1548 | * We failed to obtain an acceptable /keys response from the exchange |
1549 | * for the /track/transfer request. This response is provided with | 1549 | * for the /track/transfer request. This response is provided with |
1550 | * HTTP status code #MHD_HTTP_FAILED_DEPENDENCY. | 1550 | * HTTP status code #MHD_HTTP_FAILED_DEPENDENCY. |
1551 | */ | 1551 | */ |
1552 | TALER_EC_TRACK_TRANSFER_EXCHANGE_KEYS_FAILURE = 2401, | 1552 | TALER_EC_POST_TRANSFERS_EXCHANGE_KEYS_FAILURE = 2401, |
1553 | 1553 | ||
1554 | /** | 1554 | /** |
1555 | * We failed to persist coin wire transfer information in our merchant | 1555 | * We failed to persist coin wire transfer information in our merchant |
1556 | * database. The response is provided with HTTP status code | 1556 | * database. The response is provided with HTTP status code |
1557 | * #MHD_HTTP_INTERNAL_SERVER_ERROR. | 1557 | * #MHD_HTTP_INTERNAL_SERVER_ERROR. |
1558 | */ | 1558 | */ |
1559 | TALER_EC_TRACK_TRANSFER_DB_STORE_COIN_ERROR = 2402, | 1559 | TALER_EC_POST_TRANSFERS_DB_STORE_COIN_ERROR = 2402, |
1560 | 1560 | ||
1561 | /** | 1561 | /** |
1562 | * We internally failed to execute the /track/transfer request. The | 1562 | * We internally failed to execute the /track/transfer request. The |
1563 | * response is provided with HTTP status code | 1563 | * response is provided with HTTP status code |
1564 | * #MHD_HTTP_INTERNAL_SERVER_ERROR. | 1564 | * #MHD_HTTP_INTERNAL_SERVER_ERROR. |
1565 | */ | 1565 | */ |
1566 | TALER_EC_TRACK_TRANSFER_REQUEST_ERROR = 2403, | 1566 | TALER_EC_POST_TRANSFERS_REQUEST_ERROR = 2403, |
1567 | 1567 | ||
1568 | /** | 1568 | /** |
1569 | * We failed to persist wire transfer information in our merchant | 1569 | * We failed to persist wire transfer information in our merchant |
1570 | * database. The response is provided with HTTP status code | 1570 | * database. The response is provided with HTTP status code |
1571 | * #MHD_HTTP_INTERNAL_SERVER_ERROR. | 1571 | * #MHD_HTTP_INTERNAL_SERVER_ERROR. |
1572 | */ | 1572 | */ |
1573 | TALER_EC_TRACK_TRANSFER_DB_STORE_TRANSFER_ERROR = 2404, | 1573 | TALER_EC_POST_TRANSFERS_DB_STORE_TRANSFER_ERROR = 2404, |
1574 | 1574 | ||
1575 | /** | 1575 | /** |
1576 | * The exchange returned an error from /track/transfer. The response | 1576 | * The exchange returned an error from /track/transfer. The response |
1577 | * is provided with HTTP status code #MHD_HTTP_FAILED_DEPENDENCY. | 1577 | * is provided with HTTP status code #MHD_HTTP_FAILED_DEPENDENCY. |
1578 | */ | 1578 | */ |
1579 | TALER_EC_TRACK_TRANSFER_EXCHANGE_ERROR = 2405, | 1579 | TALER_EC_POST_TRANSFERS_EXCHANGE_ERROR = 2405, |
1580 | 1580 | ||
1581 | /** | 1581 | /** |
1582 | * We failed to fetch deposit information from our merchant database. | 1582 | * We failed to fetch deposit information from our merchant database. |
1583 | * The response is provided with HTTP status code | 1583 | * The response is provided with HTTP status code |
1584 | * #MHD_HTTP_INTERNAL_SERVER_ERROR. | 1584 | * #MHD_HTTP_INTERNAL_SERVER_ERROR. |
1585 | */ | 1585 | */ |
1586 | TALER_EC_TRACK_TRANSFER_DB_FETCH_DEPOSIT_ERROR = 2406, | 1586 | TALER_EC_POST_TRANSFERS_DB_FETCH_DEPOSIT_ERROR = 2406, |
1587 | 1587 | ||
1588 | /** | 1588 | /** |
1589 | * We encountered an internal logic error. The response is provided | 1589 | * We encountered an internal logic error. The response is provided |
1590 | * with HTTP status code #MHD_HTTP_INTERNAL_SERVER_ERROR. | 1590 | * with HTTP status code #MHD_HTTP_INTERNAL_SERVER_ERROR. |
1591 | */ | 1591 | */ |
1592 | TALER_EC_TRACK_TRANSFER_DB_INTERNAL_LOGIC_ERROR = 2407, | 1592 | TALER_EC_POST_TRANSFERS_DB_INTERNAL_LOGIC_ERROR = 2407, |
1593 | 1593 | ||
1594 | /** | 1594 | /** |
1595 | * The exchange gave conflicting information about a coin which has | 1595 | * The exchange gave conflicting information about a coin which has |
1596 | * been wire transferred. The response is provided with HTTP status | 1596 | * been wire transferred. The response is provided with HTTP status |
1597 | * code #MHD_HTTP_FAILED_DEPENDENCY. | 1597 | * code #MHD_HTTP_FAILED_DEPENDENCY. |
1598 | */ | 1598 | */ |
1599 | TALER_EC_TRACK_TRANSFER_CONFLICTING_REPORTS = 2408, | 1599 | TALER_EC_POST_TRANSFERS_CONFLICTING_REPORTS = 2408, |
1600 | 1600 | ||
1601 | /** | 1601 | /** |
1602 | * The merchant backend had problems in creating the JSON response. | 1602 | * The merchant backend had problems in creating the JSON response. |
1603 | */ | 1603 | */ |
1604 | TALER_EC_TRACK_TRANSFER_JSON_RESPONSE_ERROR = 2409, | 1604 | TALER_EC_POST_TRANSFERS_JSON_RESPONSE_ERROR = 2409, |
1605 | 1605 | ||
1606 | /** | 1606 | /** |
1607 | * The exchange charged a different wire fee than what it originally | 1607 | * The exchange charged a different wire fee than what it originally |
1608 | * advertised, and it is higher. The response is provied with an HTTP | 1608 | * advertised, and it is higher. The response is provided with an |
1609 | * status of #MHD_HTTP_FAILED_DEPENDENCY. | 1609 | * HTTP status of #MHD_HTTP_FAILED_DEPENDENCY. |
1610 | */ | 1610 | */ |
1611 | TALER_EC_TRACK_TRANSFER_JSON_BAD_WIRE_FEE = 2410, | 1611 | TALER_EC_POST_TRANSFERS_JSON_BAD_WIRE_FEE = 2410, |
1612 | |||
1613 | /** | ||
1614 | * We did not find the account that the transfer was made to. The | ||
1615 | * response is provided with an HTTP status of #MHD_HTTP_NOT_FOUND. | ||
1616 | */ | ||
1617 | TALER_EC_POST_TRANSFERS_ACCOUNT_NOT_FOUND = 2411, | ||
1618 | |||
1619 | /** | ||
1620 | * We did failed to store information in our database. The response is | ||
1621 | * provided with an HTTP status of #MHD_HTTP_INTERNAL_SERVER_ERROR. | ||
1622 | */ | ||
1623 | TALER_EC_POST_TRANSFERS_DB_STORE_ERROR = 2412, | ||
1624 | |||
1625 | /** | ||
1626 | * We did failed to retrieve information from our database. The | ||
1627 | * response is provided with an HTTP status of | ||
1628 | * #MHD_HTTP_INTERNAL_SERVER_ERROR. | ||
1629 | */ | ||
1630 | TALER_EC_POST_TRANSFERS_DB_LOOKUP_ERROR = 2413, | ||
1612 | 1631 | ||
1613 | /** | 1632 | /** |
1614 | * The merchant backend cannot create an instance under the given | 1633 | * The merchant backend cannot create an instance under the given |