From 5a4f5b81dbdd0d6f6bb1f07101d6967b567abff1 Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Tue, 5 Feb 2019 16:07:23 +0100 Subject: New error codes for bank. --- src/include/taler_error_codes.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/include/taler_error_codes.h') diff --git a/src/include/taler_error_codes.h b/src/include/taler_error_codes.h index 0a3b5150a..1e942ec8a 100644 --- 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. -- cgit v1.2.3