GSI Object Oriented Online Offline (Go4)  GO4-5.3.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
errnum_def.h
Go to the documentation of this file.
1 // $Id: errnum_def.h 478 2009-10-29 12:26:09Z linev $
2 //-----------------------------------------------------------------------
3 // The GSI Online Offline Object Oriented (Go4) Project
4 // Experiment Data Processing at EE department, GSI
5 //-----------------------------------------------------------------------
6 // Copyright (C) 2000- GSI Helmholtzzentrum für Schwerionenforschung GmbH
7 // Planckstr. 1, 64291 Darmstadt, Germany
8 // Contact: http://go4.gsi.de
9 //-----------------------------------------------------------------------
10 // This software can be used under the license agreements as stated
11 // in Go4License.txt file which is part of the distribution.
12 //-----------------------------------------------------------------------
13 
14 #include "typedefs.h"
15 /* ++++++++++++++++++++++
16  * +++ errnum_def.h +++
17  * ++++++++++++++++++++++
18  * RSMayer
19  * 07-Feb-1994
20  * error numbers
21  * last modification:
22  * 23-Mar-1994 RSMayer insert EVent_server error numbers
23  * 25-Mar-1994 RSMayer ERR__SIGNAL, SETTASK, SETVERB, CLRVERB added.
24  * 31-Mar-1994 RSMayer ERR__USBFTY, ERR__NKNBFTY.
25  * 12-Jul-1994 RSMayer Error numbers and msg. for Esone Server
26  * 16-Feb-1995 RSMayer new error numbers. /RSM
27  * 08-Mar-1995 RSMayer some basic error number text modified.
28 */
29 /* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */
30 /* !!!! error numbers MUST be changed in s_error.h TOO !!!! */
31 /* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */
32 
33 /* !!! bit1:0 succes, bit1:1 error, i.e. odd numbers are errors! !!! */
34 
35 /* +++ UTIlity error numbers start with 0 +++ */
36 #define ERR__SUCCESS 0 /* Normal successfull completion && */
37 #define ERR__ERROR 1 /* Error: && */
38 /* */
39 #define ERR__INFO 2 /* && */ /* only text */
40 #define ERR__ERR 3 /* && */ /* only text */
41 #define ERR__WARN 4 /* Warning: && */
42 /* */
43 #define ERR__ERRNF 7 /* Error number && not found */
44 #define ERR__MSKNF 9 /* Mask && not found */
45 #define ERR__MSKNIMPL 11 /* Mask && not implemented */
46 #define ERR__FNIMPL 13 /* Feature not implemented. && */
47 #define ERR__SYSERR 15 /* System error: && */
48 #define ERR__SIGNAL 16 /* Signal: && */
49 
50 #define ERR__SETTASK 60 /* Set task name &&. */
51 #define ERR__SETVERB 62 /* Verbosity flag set: &&. */
52 #define ERR__CLRVERB 64 /* Verbosity flag cleared: &&. */
53 #define ERR__STS 66 /* errstat &&. */
54 #define ERR__INIT 68 /* Using f_ut_error local ctrl structure. */
55 #define ERR__INITERR 69 /* Warn: Not specified, using local ctrl structure.*/
56 #define ERR__INITGET 70 /* Get f_ut_error ctrl structure. &&.*/
57 #define ERR__INITADDR 71 /* Invalid addr:
58  Read or write f_ut_error ctrl structure. */
59 #define ERR__INITPUT 72 /* Put f_ut_error ctrl structure. &&.*/
60 #define ERR__TEST 74 /* Test f_ut_error: &&. */
61 #define ERR__ENALOG 76 /* Enable message log: &&. */
62 #define ERR__DISLOG 78 /* Disable message log: &&. */
63 
64 #define ERR__MSG_COMM 80 /* Write command style to f_ut_send_msg */
65 #define ERR__MSG_INFO 81 /* Write info style to f_ut_send_msg */
66 #define ERR__MSG_ERROR 82 /* Write error style to f_ut_send_msg */
67 
68 
69 /* +++ COLlector error numbers start with 100 +++ */
70 #define ERR__COL_HISENA 101 /* Histogramming already enabled. && */
71 #define ERR__COL_FIEVT 103 /* first event was not triggertype 14 */
72 #define ERR__COL_TRMIS 105 /* trigger type or local event counter mismatch */
73 #define ERR__COL_TRTYP 107 /* trigger type is out of range (1-15) */
74 #define ERR__COL_BIGEV 109 /* event is bigger than stream capacity */
75 #define ERR__COL_DAMIS 111 /* mismatch in pipe data buffers 0,1 */
76 
77 
78 /* +++ RD (Readout) error numbers start with 200 +++ */
79 #define ERR__RD_FITRG 201 /* first trigger type was not 14 */
80 #define ERR__RD_NORDT 203 /* table readout specified but no readout table */
81  /* was loaded */
82 #define ERR__RD_LECMIS 205 /* local event counter differs more than 1 count */
83  /* compared to previous one (modula 32) */
84 #define ERR__RD_TRTYP 207 /* trigger type is out of range (1-15) */
85 #define ERR__RD_TRMIS 209 /* trigger type is out of range (1-15) */
86 
87 
88 /* +++ TRansport error numbers start with 300 +++ */
89 #define ERR__MALLOC 301
90 #define ERR__SCSI_WRTFILEMARK 303
91 #define ERR__SCSI_WRITE 305
92 #define ERR__SCSI_REWIND 307
93 #define ERR__SCSI_UNLOAD 309
94 #define ERR__SCSI_OPEN 311
95 #define ERR__SCSI_SETBLKSIZE 313
96 #define ERR__SCSI_UNKNMEDIA 315
97 #define ERR__SCSI_MSENSE 317
98 #define ERR__SCSI_INQUIRY 319
99 #define ERR__SCSI_MSELECT 321
100 
101 
102 /* +++ EVent_server error numbers start with 400 +++ */
103 #define ERR__EV_CLNOTMR 400 /* Warning: Client not marked. && */
104 #define ERR__EV_CLAMRK 402 /* Warning: Client allready marked. && */
105 #define ERR__EV_ECLAMRK 403 /* Client allready marked. && */
106 #define ERR__EV_CLNOTV 404 /* Warning: Client not valid. && */
107 #define ERR__EV_ECLNOTV 405 /* Client not valid. && */
108 #define ERR__EV_CLNRDY 406 /* No client ready/active. && */
109 #define ERR__EV_FLTNV 407 /* Filter not valid. && */
110 #define ERR__EV_WARNFLT 408 /* Warning for filter. && */
111 #define ERR__EV_EBFACKN 409 /* Buffer acknoledge. && */
112 #define ERR__EV_WBFACKN 410 /* Warning: Buffer acknoledge. && */
113 #define ERR__EV_WBACKTO 412 /* Warning: Buffer acknoledge timeout. && */
114 #define ERR__EV_WBFPEND 414 /* Buffer pending. && */
115 #define ERR__EV_CLNSTS 415 /* Wrong client status. && */
116 #define ERR__EV_LSTBUF 416 /* Info: Was last buffer. && */
117 #define ERR__EV_WRTBUF 417 /* Error writing buffer. && */
118 #define ERR__EV_CLNACC 419 /* Error client accept . && */
119 #define ERR__EV_RELSTR 420 /* Release stream: &&. */
120 #define ERR__EV_USBFTY 421 /* Unsupported buffer typ: &&. */
121 #define ERR__EV_UKNBFTY 423 /* Unknown buffer typ: &&. */
122 #define ERR__EV_UKNEVTY 425 /* Unknown event typ: &&. */
123 #define ERR__EV_UKNSETY 427 /* Unknown subevent typ: &&. */
124 #define ERR__EV_EVTOOBIG 429 /* Event too big for buffer: &&. */
125 /* */
126 
127 /* +++ ESone_server error numbers start with 500 +++ */
128 #define ERR__ES_CLNOTMR 500 /* Warning: Client not marked. && */
129 #define ERR__ES_CLAMRK 502 /* Warning: Client allready marked. && */
130 #define ERR__ES_BFRDTO 514 /* Buffer read timeout. && */
131 #define ERR__ES_ERDBUF 515 /* Error reading buffer. && */
132 #define ERR__ES_LSTBUF 516 /* Info: Was last buffer. && */
133 #define ERR__ES_WRTBUF 517 /* Error writing buffer. && */
134 #define ERR__ES_CLNACC 519 /* Error client accept. && */
135 #define ERR__ES_MAXCLN 521 /* Maximum number of clients exceeded. && */
136 #define ERR__ES_BFSTRD 530 /* Buffer status read: && */
137 #define ERR__ES_BFSTWR 532 /* Buffer status write: && */
138 #define ERR__ES_BFPROC 534 /* Buffer in process: && */
139 #define ERR__ES_EESONE 537 /* Error in Esone call: && */
140 /* */
141 
142 /* +++ Histogram_manager error numbers start with 600 +++ */
143 #define ERR__HIS_SPNFND 601 /* Error: Histogram && not found */
144 #define ERR__HIS_EOFSPN 602 /* Warn: End of histogram list. && */
145 #define ERR__HIS_RANGES 603 /* Error: Value out of range. && */
146 #define ERR__HIS_WRNGNO 605 /* Error: Wrong number typed */
147 #define ERR__HIS_EANAL 607 /* Error in analysis: && */
148 #define ERR__HIS_NFREEM 609 /* Error: Can't get the memory */
149 #define ERR__HIS_NOPENF 611 /* Error: Can't open the file */
150 #define ERR__HIS_INVHIS 613 /* Error: Invalid histogram name or too long */
151 #define ERR__HIS_NALFNO 615 /* Error: Only alphanumeric symbols allowed */
152 #define ERR__HIS_NOMEMR 617 /* Error: No memory allocated */
153 #define ERR__HIS_HALREX 619 /* Histogram && already exists */
154 #define ERR__HIS_NFREDP 621 /* No free memory in data pool && */
155 #define ERR__HIS_HTABFU 623 /* Histogram table full && */
156 #define ERR__HIS_EWPAR 625 /* Wrong parameter && */
157 #define ERR__HIS_SKIPEVT 626 /* Skip event &&. */
158 #define ERR__HIS_SKIPSEV 628 /* Skip subevent &&. */
159 #define ERR__HIS_NBASATT 629 /* No Base attached. &&*/
160 #define ERR__HIS_BASATT 630 /* Base && already attached. */
161 #define ERR__HIS_NHISBAS 631 /* Base && is not a histogram base. */
162 #define ERR__HIS_DBLOCK 633 /* Base locked by another user. && */
163 /* */