Bug 29857: Make the exception classes inherit from the base class
[koha.git] / Koha / Exceptions / Config.pm
1 package Koha::Exceptions::Config;
2
3 use Modern::Perl;
4
5 use Koha::Exceptions::Exception;
6
7 use Exception::Class (
8
9     'Koha::Exceptions::Config' => {
10         isa => 'Koha::Exceptions::Exception',
11     },
12     'Koha::Exceptions::Config::MissingEntry' => {
13         isa => 'Koha::Exceptions::Config',
14         description => 'The required entry is missing in the configuration file'
15     }
16 );
17
18 1;