]> git.koha-community.org Git - koha.git/commit
Bug 21980: Add new exceptions for Koha::Account
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 10 Dec 2018 12:02:41 +0000 (12:02 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 4 Jan 2019 03:13:48 +0000 (03:13 +0000)
commit28de85db4060604e7cca7dbb74e9da984e2e6451
tree962f2bcf1b9e736c89d95018db0e3db9617a0f77
parent7185a96ca601905c291ea5b164332486bb4a14af
Bug 21980: Add new exceptions for Koha::Account

He add two new exceptions here; One to be thrown when negative 'amount'
is passed into verious account methods that always expect positive
decimals and another to be thrown when a bad 'type' is passed into an
account method.

Sponsored-by: PTFS Europe
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Koha/Exceptions/Account.pm