<<

NAME

Koha::Exceptions::Account - Base class for Account exceptions

Exceptions

Koha::Exceptions::Account

Generic Account exception

Koha::Exceptions::Account::IsNotCredit

Exception to be used when an action on an account line requires it to be a credit and it isn't.

Koha::Exceptions::Account::IsNotDebit

Exception to be used when an action on an account line requires it to be a debit and it isn't.

Koha::Exceptions::Account::NoAvailableCredit

Exception to be used when a credit has no amount outstanding and is required to be applied to outstanding debits.

Koha::Exceptions::Account::AmountNotPositive

Exception to be used when a passed credit or debit amount is not a positive decimal value.

Koha::Exceptions::Account::UnrecognisedType

Exception to be used when a passed credit or debit is not of a recognised type.

Koha::Exceptions::Account::RegisterRequired

Exception to be used when UseCashRegisters is enabled and one is not passed for a transaction.

<<