Bug 9525: Add option to define float groups and rules for float
[koha.git] / Koha / Exceptions / Authorization.pm
1 package Koha::Exceptions::Authorization;
2
3 use Modern::Perl;
4
5 use Koha::Exception;
6
7 use Exception::Class (
8
9     'Koha::Exceptions::Authorization' => {
10         isa => 'Koha::Exception',
11     },
12     'Koha::Exceptions::Authorization::Unauthorized' => {
13         isa => 'Koha::Exceptions::Authorization',
14         description => 'Unauthorized',
15         fields => ['required_permissions']
16     },
17
18 );
19
20 1;