[Koha-bugs] [Bug 22194] Add Koha::Exceptions::Metadata
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Jan 24 12:36:31 CET 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22194
Kyle M Hall <kyle at bywatersolutions.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #84335|0 |1
is obsolete| |
--- Comment #2 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 84347
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=84347&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>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list