]> git.evergreen-ils.org Git - working/NCIPServer.git/blob - lib/NCIP/Problem.pm
Merge branch 'master' into better_abstraction
[working/NCIPServer.git] / lib / NCIP / Problem.pm
1 # ---------------------------------------------------------------
2 # Copyright © 2014 Jason J.A. Stephenson <jason@sigio.com>
3 #
4 # This file is part of NCIPServer.
5 #
6 # NCIPServer is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 2 of the License, or
9 # (at your option) any later version.
10 #
11 # NCIPServer is distributed in the hope that it will be useful, but
12 # WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 # General Public License for more details.
15 #
16 # You should have received a copy of the GNU General Public License
17 # along with NCIPServer.  If not, see <http://www.gnu.org/licenses/>.
18 # ---------------------------------------------------------------
19 package NCIP::Problem;
20 use parent qw(Class::Accessor);
21
22 # NCIP::Problem is the object used to report that a problem occurred
23 # during message processing.  The fields are as defined in
24 # Z39.83-1-2012.  Ext is avaialable for future use, but it is not
25 # presently used by the problem template.  The obsolete
26 # ProcessingError fields have been excluded.
27
28 NCIP::Problem->mk_accessors(qw(ProblemType Scheme ProblemDetail ProblemElement
29                                ProblemValue Ext));
30
31 1;