Bug ID: 20590
Summary: Koha::Exceptions does not stringify the exceptions
Change sponsored?: ---
Priority: P5 - low
Component: Architecture, internals, and plumbing
Assignee: [hidden email] Reporter: [hidden email] QA Contact: [hidden email]
I was working on bug 20580 and noticed that the exceptions are not stringified
and so not really useful when displayed in string context.
This patch makes Koha::Exceptions::Object include
Koha::Exceptions::Exception so it is not required to include it
excplicitly for using this exceptions.
$k prove t/Koha/Exceptions.t
=> FAIL: Tests fail because Koha::Exceptions::Exception is not
(implicitly or explicitly included)
- Apply this patch
k$ prove t/Koha/Exceptions.t
=> SUCCESS: Tests pass!