gnunet-svn
[Top][All Lists]
Advanced

[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:27:29 +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 9fa730a  error code(s)
9fa730a is described below

commit 9fa730af3f85cd6a229323591b62e9c8e1046b10
Author: Marcello Stanisci <address@hidden>
AuthorDate: Sat Nov 16 02:27:23 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 b093b54..d95bada 100644
--- a/taler/util/amount.py
+++ b/taler/util/amount.py
@@ -67,6 +67,8 @@ class NumberTooBig(Exception):
 
 class NegativeNumber(Exception):
     hint = "Negative number given as value and/or fraction"
+    taler_error_code = 5107
+    http_status_code = 400
 
     def __init__(self) -> None:
         super(NegativeNumber,

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]