new bank error code

This commit is contained in:
Marcello Stanisci 2019-11-30 00:24:38 +01:00
parent 2731e0aa4d
commit 204f296a33
No known key found for this signature in database
GPG Key ID: 8D526861953F4C0F

View File

@ -1844,11 +1844,24 @@ enum TALER_ErrorCode
/**
* This error code is returned when no known exception types
* captured the exception.
* captured the exception, and comes along with a 500 Internal
* Server Error.
*/
TALER_EC_BANK_UNMANAGED_EXCEPTION = 5300,
/**
* This error code is used for all those exceptions that
* do not really need a specific error code to return to
* the client, but need to signal the middleware that the
* bank is not responding with 500 Internal Server Error.
*
* Used for example when a client is trying to register
* with a unavailable username.
*/
TALER_EC_BANK_SOFT_EXCEPTION = 5300,
/**
* The sync service failed to access its database.
* This response is provided with HTTP status code