New error codes for bank.

This commit is contained in:
Marcello Stanisci 2019-02-05 16:07:23 +01:00
parent 71d0aab4e2
commit 5a4f5b81db
No known key found for this signature in database
GPG Key ID: 8D526861953F4C0F

View File

@ -1700,6 +1700,19 @@ enum TALER_ErrorCode
/* *************** Taler BANK/FAKEBANK error codes *************** */
/**
* Negative number was used (as value and/or fraction) to initiate
* a Amount object.
*/
TALER_EC_BANK_NEGATIVE_NUMBER_AMOUNT = 5400,
/**
* A number too big was used (as value and/or fraction) to initiate
* a amount object.
*/
TALER_EC_BANK_NUMBER_TOO_BIG = 5401,
/**
* The request cannot be served because the client failed to
* login. To be returned along HTTP 401 Unauthorized.