[Koha-bugs] [Bug 29857] We must stringify our exceptions correctly

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jan 31 16:24:41 CET 2022


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

--- Comment #14 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
I renamed the 'base' exception class to Koha::Exception as it is something I
wanted to do for a long time already. Beware the package/file name doesn't need
to match the exception name in Exception::Class, so we could've left
Koha::Exceptions::Exception and still use Koha::Exception->throw if we named it
like that. But... this is certainly better :-D

I tried to highlight the expected behaviors with the tests and found some
glitches, that are fixed on the 'Fix behavior' patch.

Hope you agree with the proposed follow-ups.

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


More information about the Koha-bugs mailing list