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