Bug 29857: Make the exception classes inherit from the base class
[koha.git] / Koha / Exceptions / Library.pm
1 package Koha::Exceptions::Library;
2
3 use Modern::Perl;
4
5 use Koha::Exceptions::Exception;
6
7 use Exception::Class (
8
9     'Koha::Exceptions::Library::Exception' => {
10         isa => 'Koha::Exceptions::Exception',
11     },
12
13     'Koha::Exceptions::Library::NotFound' => {
14         isa => 'Koha::Exceptions::Library::Exception',
15         description => 'Library not found',
16     },
17 );
18
19 1;