Bug 29857: Make the exception classes inherit from the base class
[koha.git] / Koha / Exceptions / Checkout.pm
1 package Koha::Exceptions::Checkout;
2
3 use Modern::Perl;
4
5 use Koha::Exceptions::Exception;
6
7 use Exception::Class (
8     'Koha::Exceptions::Checkout' => {
9         isa => 'Koha::Exceptions::Exception',
10     },
11     'Koha::Exceptions::Checkout::FailedRenewal' => {
12         isa         => 'Koha::Exceptions::Checkout',
13         description => "Renewing checkout failed"
14     },
15 );
16
17 1;