]> git.koha-community.org Git - koha.git/blob - Koha/Exceptions/Authentication.pm
Bug 23321: Add cash register support to paycollect
[koha.git] / Koha / Exceptions / Authentication.pm
1 package Koha::Exceptions::Authentication;
2
3 use Modern::Perl;
4
5 use Exception::Class (
6
7     'Koha::Exceptions::Authentication' => {
8         description => 'Something went wrong!',
9     },
10     'Koha::Exceptions::Authentication::Required' => {
11         isa => 'Koha::Exceptions::Authentication',
12         description => 'Authentication required'
13     },
14     'Koha::Exceptions::Authentication::SessionExpired' => {
15         isa => 'Koha::Exceptions::Authentication',
16         description => 'Session has been expired',
17     },
18
19 );
20
21 1;