Bug 20590: Include Koha::Exceptions::Exception
commite6f729cfa0a1bb362e66646413fb0ef40af9d9ea
authorTomas Cohen Arazi <tomascohen@theke.io>
Thu, 19 Apr 2018 14:13:06 +0000 (19 11:13 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 19 Apr 2018 15:46:04 +0000 (19 12:46 -0300)
treed5458721356c51b3467ac6618b55ac710b2abcba
parent681a25f802dc3d2c1eaf63a2d1e7efa3f0d3f585
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 <tomascohen@theke.io>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/Exceptions/Object.pm