We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e5bf1ca commit 057e99cCopy full SHA for 057e99c
src/banker/data/transaction.py
@@ -14,7 +14,8 @@ class Transaction:
14
15
def __post_init__(self):
16
if self.value.currency != PLN:
17
- raise ValueError("The only accepted transaction currency is PLN")
+ raise ValueError("The only accepted transaction currency is PLN, "
18
+ f"but is: {self.value.currency}")
19
20
def find_matching(self, categories: list[Category]) -> list[Category]:
21
result = []
0 commit comments