diff options
author | Marcello Stanisci <stanisci.m@gmail.com> | 2019-02-05 16:07:23 +0100 |
---|---|---|
committer | Marcello Stanisci <stanisci.m@gmail.com> | 2019-02-05 16:07:23 +0100 |
commit | 5a4f5b81dbdd0d6f6bb1f07101d6967b567abff1 (patch) | |
tree | de5c1d8559bc864d349fa07a48b4a64c0ceb742c /src | |
parent | 71d0aab4e2659e9026c79d63c3126ac8552af7b6 (diff) |
New error codes for bank.
Diffstat (limited to 'src')
-rw-r--r-- | src/include/taler_error_codes.h | 13 |
1 files changed, 13 insertions, 0 deletions
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. |