[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-taler-util] branch master updated: error code(s)
From: |
gnunet |
Subject: |
[taler-taler-util] branch master updated: error code(s) |
Date: |
Sat, 16 Nov 2019 02:31:24 +0100 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository taler-util.
The following commit(s) were added to refs/heads/master by this push:
new 2235494 error code(s)
2235494 is described below
commit 22354947d9055dd650df2edd6da530395ead4cfc
Author: Marcello Stanisci <address@hidden>
AuthorDate: Sat Nov 16 02:31:19 2019 +0100
error code(s)
---
taler/util/amount.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/taler/util/amount.py b/taler/util/amount.py
index 859bf91..c768f30 100644
--- a/taler/util/amount.py
+++ b/taler/util/amount.py
@@ -43,7 +43,9 @@ class CurrencyMismatch(Exception):
##
# Exception class to raise when a amount string is not valid.
class BadFormatAmount(Exception):
-
+ hint = "Malformed amount string"
+ http_status_code = 400
+ taler_error_code = 5112
hint = "Malformed amount string"
##
--
To stop receiving notification emails like this one, please contact
address@hidden.