Bug 19618: Add api endpoint for club holds
[koha.git] / Koha / Exceptions / ClubHold.pm
1 package Koha::Exceptions::ClubHold;
2
3 use Modern::Perl;
4
5 use Exception::Class (
6     'Koha::Exceptions::ClubHold' => {
7         description => "Something went wrong!",
8     },
9     'Koha::Exceptions::ClubHold::NoPatrons' => {
10         isa => 'Koha::Exceptions::ClubHold',
11         description => "Cannot place a hold on a club without patrons.",
12     },
13 );
14
15 1;