[Koha-bugs] [Bug 21022] Exceptions should skip stringifying if message manually passed

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jun 29 16:18:19 CEST 2018


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21022

--- Comment #3 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 76573
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=76573&action=edit
Bug 21022: (follow-up) Move overloaded full_message method to subclass

We shouldn't have it overloaded on the base class, as it could get huge
and difficult to find things, and read.

This patch moves things to Koha::Exceptions::Object. We should overload
the full_message method on each exceptions class, as needed.

To test:
- Run:
  $ kshell
 k$ prove t/Koha/Exceptions.t
=> SUCCESS: Tests still pass!
- Sign off :-D

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list