From e6f729cfa0a1bb362e66646413fb0ef40af9d9ea Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Thu, 19 Apr 2018 11:13:06 -0300 Subject: [PATCH] Bug 20590: Include Koha::Exceptions::Exception This patch makes Koha::Exceptions::Object include Koha::Exceptions::Exception so it is not required to include it excplicitly for using this exceptions. To test: - Run: $ kshell $k prove t/Koha/Exceptions.t => FAIL: Tests fail because Koha::Exceptions::Exception is not (implicitly or explicitly included) - Apply this patch - Run k$ prove t/Koha/Exceptions.t => SUCCESS: Tests pass! Signed-off-by: Tomas Cohen Arazi Signed-off-by: Jonathan Druart --- Koha/Exceptions/Object.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Koha/Exceptions/Object.pm b/Koha/Exceptions/Object.pm index 451c677c5f..81156400c9 100644 --- a/Koha/Exceptions/Object.pm +++ b/Koha/Exceptions/Object.pm @@ -2,6 +2,8 @@ package Koha::Exceptions::Object; use Modern::Perl; +use Koha::Exceptions::Exception; + use Exception::Class ( 'Koha::Exceptions::Object' => { isa => 'Koha::Exceptions::Exception', -- 2.39.5