[Koha-bugs] [Bug 26555] New: 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 14:13:00 CEST 2020


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

            Bug ID: 26555
           Summary: Add a way for Koha::Object(s) to carry errors
                    information
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: tomascohen at gmail.com
        QA Contact: testopia at bugs.koha-community.org

I propose we add an ->errors method that returns a list of Koha::Object::Error
objects. They would be added by using ->add_error($params). This way we can
pass , for example, non-fatal error information to the caller.

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


More information about the Koha-bugs mailing list