Bug 29121: Add new plugin exceptions
authorTomas Cohen Arazi <tomascohen@theke.io>
Mon, 27 Sep 2021 11:18:33 +0000 (08:18 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 1 Oct 2021 14:28:55 +0000 (16:28 +0200)
commitb937450ce5f39d6cc56c2fc4884b628c117bffb7
tree0eb4bf14761ca666c306262683fff19482fa1eaa
parentfb1c0d483a8d921b528ae24101778e8149ede3b9
Bug 29121: Add new plugin exceptions

This patch introduces two new exceptions:

- Koha::Exceptions::Plugin::InstallDied
- Koha::Exceptions::Plugin::UpgradeDied

Tests are added for their stringification output.

To test:
1. Apply this patch
2. Run:
   $ kshell
  k$ prove t/Koha/Exceptions.t
=> SUCCESS: Tests pass!
3. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/Exceptions/Plugin.pm
t/Koha/Exceptions.t