Bug 34587: Add IR_A1 fields to COUNTER report
[koha.git] / Koha / Exceptions / Calendar.pm
1 package Koha::Exceptions::Calendar;
2
3 use Modern::Perl;
4
5 use Koha::Exception;
6
7 use Exception::Class (
8     'Koha::Exceptions::Calendar' => {
9         isa => 'Koha::Exception',
10     },
11     'Koha::Exceptions::Calendar::NoOpenDays' => {
12         isa         => 'Koha::Exceptions::Calendar',
13         description => 'Library has no open days',
14     },
15 );
16
17 =head1 NAME
18
19 Koha::Exceptions::Calendar - Base class for calendar exceptions
20
21 =head1 Exceptions
22
23 =head2 Koha::Exceptions::Calendar
24
25 Generic calendar exception
26
27 =head2 Koha::Exceptions::Calendar::NoOpenDays
28
29 Exceptions to be used when no open days have been found
30
31 =cut
32
33 1;