From 82de600f6dfd9bbe5e272ee25b54fb2b4c519a35 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Tue, 3 Nov 2020 11:14:26 -0300 Subject: [PATCH] Bug 26633: POD for the exceptions file Signed-off-by: Tomas Cohen Arazi Signed-off-by: Katrin Fischer Signed-off-by: Jonathan Druart --- Koha/Exceptions/TransferLimit.pm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/Koha/Exceptions/TransferLimit.pm b/Koha/Exceptions/TransferLimit.pm index 7b2dab1948..1549ed2340 100644 --- a/Koha/Exceptions/TransferLimit.pm +++ b/Koha/Exceptions/TransferLimit.pm @@ -1,5 +1,20 @@ package Koha::Exceptions::TransferLimit; +# This file is part of Koha. +# +# Koha is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# Koha is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Koha; if not, see . + use Modern::Perl; use Exception::Class ( @@ -14,4 +29,20 @@ use Exception::Class ( }, ); +=head1 NAME + +Koha::Exceptions::TransferLimit - Base class for transfer limits exceptions + +=head1 Exceptions + +=head2 Koha::Exceptions::TransferLimit + +Generic transfer limit exception + +=head2 Koha::Exceptions::TransferLimit::Duplicate + +Exception to be used when trying to store an already existing transfer limit. + +=cut + 1; -- 2.39.5