commit 5a4f5b81dbdd0d6f6bb1f07101d6967b567abff1 parent 71d0aab4e2659e9026c79d63c3126ac8552af7b6 Author: Marcello Stanisci <stanisci.m@gmail.com> Date: Tue, 5 Feb 2019 16:07:23 +0100 New error codes for bank. Diffstat:
| M | src/include/taler_error_codes.h | | | 13 | +++++++++++++ |
1 file changed, 13 insertions(+), 0 deletions(-)
diff --git a/src/include/taler_error_codes.h b/src/include/taler_error_codes.h @@ -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.