Bug 28056: Add Koha::Exceptions::Patron::MissingMandatoryExtendedAttribute
authorTomas Cohen Arazi <tomascohen@theke.io>
Tue, 30 Mar 2021 13:52:01 +0000 (10:52 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 9 Apr 2021 13:43:29 +0000 (15:43 +0200)
commitf2b3099a9f95b8303928acac4434e7642d49b76d
tree31fadfa791776ed4ee81c512d78f4f4fd61dff61
parent3ee844ff56368ddb8adb2b4f0e98c765e6e0ccff
Bug 28056: Add Koha::Exceptions::Patron::MissingMandatoryExtendedAttribute

This trivial patch adds a new exception for more fine-grained control on
the errors when dealing with patrons and their extended attributes.

To test:
1. Apply this patches
2. Run:
   $ kshell
  k$ prove t/Koha/Exceptions.t
=> SUCCESS: Tests pass!
3. Sign off :-D

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/Exceptions/Patron.pm