Bug 22521: DBRev 18.12.00.055
[koha.git] / Koha / Exceptions / Authorization.pm
1 package Koha::Exceptions::Authorization;
2
3 use Modern::Perl;
4
5 use Exception::Class (
6
7     'Koha::Exceptions::Authorization' => {
8         description => 'Something went wrong!',
9     },
10     'Koha::Exceptions::Authorization::Unauthorized' => {
11         isa => 'Koha::Exceptions::Authorization',
12         description => 'Unauthorized',
13         fields => ['required_permissions']
14     },
15
16 );
17
18 1;