Bug 21116: (RMaint follow-up) do not use Koha::Exceptions::Exception
authorFridolin Somers <fridolin.somers@biblibre.com>
Thu, 29 Nov 2018 13:56:38 +0000 (14:56 +0100)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 29 Nov 2018 13:56:38 +0000 (14:56 +0100)
Koha/Exceptions/Plugin.pm

index fafd838..52a3e02 100644 (file)
@@ -18,6 +18,9 @@ package Koha::Exceptions::Plugin;
 use Modern::Perl;
 
 use Exception::Class (
+    'Koha::Exceptions::Plugin' => {
+        description => 'Something went wrong!'
+    },
     'Koha::Exceptions::Plugin::ForbiddenAction' => {
         isa         => 'Koha::Exceptions::Plugin',
         description => 'The plugin is trying to do something it is not allowed to'