fix numbering of EC codes, distinguish auditor DB store errors
This commit is contained in:
parent
5a6755b4b4
commit
7b10ad0851
@ -75,7 +75,7 @@ store_exchange_signing_key_transaction (void *cls,
|
|||||||
{
|
{
|
||||||
TALER_LOG_WARNING ("Failed to store exchange signing key in database\n");
|
TALER_LOG_WARNING ("Failed to store exchange signing key in database\n");
|
||||||
*mhd_ret = TAH_RESPONSE_reply_internal_db_error (connection,
|
*mhd_ret = TAH_RESPONSE_reply_internal_db_error (connection,
|
||||||
TALER_EC_DEPOSIT_CONFIRMATION_STORE_DB_ERROR);
|
TALER_EC_AUDITOR_EXCHANGE_STORE_DB_ERROR);
|
||||||
}
|
}
|
||||||
return qs;
|
return qs;
|
||||||
}
|
}
|
||||||
|
@ -1514,7 +1514,7 @@ enum TALER_ErrorCode
|
|||||||
* This response is
|
* This response is
|
||||||
* provided with HTTP status code MHD_HTTP_INTERNAL_SERVER_ERROR.
|
* provided with HTTP status code MHD_HTTP_INTERNAL_SERVER_ERROR.
|
||||||
*/
|
*/
|
||||||
TALER_EC_CHECK_PAYMENT_FAILED_COMPUTE_PROPOSAL_HASH = 2014,
|
TALER_EC_CHECK_PAYMENT_FAILED_COMPUTE_PROPOSAL_HASH = 2914,
|
||||||
|
|
||||||
|
|
||||||
/* *********** Auditor error codes ********* */
|
/* *********** Auditor error codes ********* */
|
||||||
@ -1523,21 +1523,28 @@ enum TALER_ErrorCode
|
|||||||
* The signature from the exchange on the deposit confirmation
|
* The signature from the exchange on the deposit confirmation
|
||||||
* is invalid. Returned with a "400 Bad Request" status code.
|
* is invalid. Returned with a "400 Bad Request" status code.
|
||||||
*/
|
*/
|
||||||
TALER_EC_DEPOSIT_CONFIRMATION_SIGNATURE_INVALID = 2500,
|
TALER_EC_DEPOSIT_CONFIRMATION_SIGNATURE_INVALID = 3000,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The auditor had trouble storing the deposit confirmation
|
* The auditor had trouble storing the deposit confirmation
|
||||||
* in its database. Returned with an HTTP status code of
|
* in its database. Returned with an HTTP status code of
|
||||||
* MHD_HTTP_INTERNAL_SERVER_ERROR.
|
* MHD_HTTP_INTERNAL_SERVER_ERROR.
|
||||||
*/
|
*/
|
||||||
TALER_EC_DEPOSIT_CONFIRMATION_STORE_DB_ERROR = 2501,
|
TALER_EC_DEPOSIT_CONFIRMATION_STORE_DB_ERROR = 3001,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The auditor had trouble retrieving the exchange list
|
* The auditor had trouble retrieving the exchange list
|
||||||
* from its database. Returned with an HTTP status code of
|
* from its database. Returned with an HTTP status code of
|
||||||
* MHD_HTTP_INTERNAL_SERVER_ERROR.
|
* MHD_HTTP_INTERNAL_SERVER_ERROR.
|
||||||
*/
|
*/
|
||||||
TALER_EC_LIST_EXCHANGES_DB_ERROR = 2502,
|
TALER_EC_LIST_EXCHANGES_DB_ERROR = 3002,
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The auditor had trouble storing an exchange in its
|
||||||
|
* database. Returned with an HTTP status code of
|
||||||
|
* MHD_HTTP_INTERNAL_SERVER_ERROR.
|
||||||
|
*/
|
||||||
|
TALER_EC_AUDITOR_EXCHANGE_STORE_DB_ERROR = 3003,
|
||||||
|
|
||||||
|
|
||||||
/* ********** /test API error codes ************* */
|
/* ********** /test API error codes ************* */
|
||||||
|
Loading…
Reference in New Issue
Block a user