[Koha-bugs] [Bug 22194] Add Koha::Exceptions::Metadata

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jan 23 17:12:14 CET 2019


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

--- Comment #1 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 84335
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=84335&action=edit
Bug 22194: Add Koha::Exceptions::Metadata

This trivial patch adds a basic Koha::Exceptions::Metadata exception and
Koha::Exceptions::Metadata::Invalid for using when the data cannot be
decoded (maybe because of incompatibility between format, schema, or
just bad data).

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

Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>

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


More information about the Koha-bugs mailing list