[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:28:19 +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 815fed3 error code(s)
815fed3 is described below
commit 815fed39affcbd6961bfbdbc07f2bcfae784a564
Author: Marcello Stanisci <address@hidden>
AuthorDate: Sat Nov 16 02:28:14 2019 +0100
error code(s)
---
taler/util/amount.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/taler/util/amount.py b/taler/util/amount.py
index d95bada..859bf91 100644
--- a/taler/util/amount.py
+++ b/taler/util/amount.py
@@ -60,6 +60,8 @@ class BadFormatAmount(Exception):
# Main Amount class.
class NumberTooBig(Exception):
hint = "Number given is too big"
+ http_status_code = 400
+ taler_error_code = 5108
def __init__(self) -> None:
super(NumberTooBig, self).__init__("Number given is too big")
--
To stop receiving notification emails like this one, please contact
address@hidden.