[Koha-bugs] [Bug 26555] Add a way for Koha::Object(s) to carry errors information
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Sep 28 18:22:09 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26555
Tomás Cohen Arazi <tomascohen at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |nick at bywatersolutions.com
Status|ASSIGNED |In Discussion
--- Comment #3 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Should we call it 'messages' to make it more general?
Jonathan pointed that this situation could be confusing:
$o->bad_call
$o->errors; # error is set
$o->good_call
$o->errors; # error is still set
Setting 'In discussion' with the hope to get some feedback. I think this
pattern is something we would like to make use of. Or we could
return $self, { something => else };
instead of crafting this into Koha::Object.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list