]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/extras/ils_events.xml
6ecb015581ecc230df246efc0363e8b84f2a001f
[Evergreen.git] / Open-ILS / src / extras / ils_events.xml
1 <ils_events>
2         <notes>
3                 This file describes the event codes that an ILS method might return.  Not all
4                 methods will return event codes and it is up to each method to define which
5                 types of events it may return.  The standard event procedure is to return an
6                 object (JSON hash) with a field called "ilsevent" which contains the event code
7                 below.
8
9                 If events need to be placed into groups for any reason, the segregation shall
10                 be defined below with the accompanying events.
11         </notes>
12
13         <event code='0' textcode='SUCCESS'>
14                 <desc>No errors or unexpected events occurred</desc>
15         </event>
16         <event code='1000' textcode='LOGIN_FAILED'>
17                 <desc>
18                         User login failed.  Why the login failed is not specified.
19                 </desc>
20         </event>
21         <event code='5000' textcode='PERM_FAILURE'>
22                 <desc> 
23                         Permission Error.  * The object returning this code shall also 
24                         contain a field "ilsperm" containing the name of the permission which failed 
25                         and a field called "ilspermloc" defining the location at which the permission
26                         failed if available.
27                 </desc>
28         </event>
29 </ils_events>
30
31
32
33