Bug 23095: Correctly display circulation rules (0 vs undef)
[koha.git] / Koha / Exceptions / Patron / Modification.pm
1 package Koha::Exceptions::Patron::Modification;
2
3 use Modern::Perl;
4
5 use Exception::Class (
6
7     'Koha::Exceptions::Patron::Modification' => {
8         description => 'Something went wrong'
9     },
10     'Koha::Exceptions::Patron::Modification::DuplicateVerificationToken' => {
11         isa => 'Koha::Exceptions::Patron::Modification',
12         description => "The verification token given already exists"
13     },
14     'Koha::Exceptions::Patron::Modification::InvalidData' => {
15         isa => 'Koha::Exceptions::Patron::Modification',
16         description => "Some passed data is invalid"
17     }
18 );
19
20 1;