Bug 19625: Enable Shibboleth auto-provisioning for Plack
[koha.git] / Koha / Exceptions / Authorization.pm
bloba3c625aca83fed4009d7a512d4661875908ce2a0
1 package Koha::Exceptions::Authorization;
3 use Modern::Perl;
5 use Exception::Class (
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']