6bd83f48a0638d089eb9ea12d6624727726be039
[koha.git] / Koha / Exceptions / Authentication.pm
1 package Koha::Exceptions::Authentication;
2
3 use Modern::Perl;
4
5 use Koha::Exception;
6
7 use Exception::Class (
8
9     'Koha::Exceptions::Authentication' => {
10         isa => 'Koha::Exception',
11     },
12     'Koha::Exceptions::Authentication::Required' => {
13         isa => 'Koha::Exceptions::Authentication',
14         description => 'Authentication required'
15     },
16     'Koha::Exceptions::Authentication::SessionExpired' => {
17         isa => 'Koha::Exceptions::Authentication',
18         description => 'Session has been expired',
19     },
20
21 );
22
23 1;