[Koha-bugs] [Bug 26555] Add a way for Koha::Object(s) to carry execution information

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 8 14:24:05 CEST 2020


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

--- Comment #16 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Tomas, I am not a fan of this, and I am wondering if the following approach
would not be better.

Imagine you have one or more messages (ie. not blocking errors) to pass to the
caller, then you could throw a Koha::Exception::Messages (or
Koha::Exception::Errors?) that would contain a set of Koha::Exception.
That would allow us to tell the callers several things happened, and let it
handle the situation how it wants.

What do you think?

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


More information about the Koha-bugs mailing list