Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-02-21 10:05:28

0001 /*
0002  *  errors.h  -  define errors passed around in the parser.
0003  *
0004  *  Original: 13-Jul-1994 11:00
0005  *
0006  *  Author:   Maarten Ballintijn <Maarten.Ballintijn@cern.ch>
0007  *
0008  *  $Id$
0009  *
0010  *  $Log$
0011  *  Revision 1.8  1996/04/23 18:37:56  maartenb
0012  *  - Add RCS keywords
0013  *
0014  *
0015  */
0016 
0017 #ifndef _errors_h
0018 #define _errors_h
0019 
0020 typedef enum _return_value_ {
0021 
0022     R_NOERR,        /* all is fine */
0023     R_TYPE_ERROR,       /* wrong type in expression */
0024     R_NAME_UNDEF,       /* name undefined */
0025     R_NOT_IMPLEMENTED,  /* type of sub-expression not implemented */
0026     R_ALLOC_ERROR,      /* dynamic allocation failed */
0027     R_INTERNAL_ERROR,   /* inconsistency detected */
0028     R_MATH_ERROR,       /* error in math of expression */
0029     R_SYNTAX_ERROR,     /* error during parsing */
0030     R_LOAD_ERROR,       /* error during (comis) load of file */
0031     R_NOCUT,        /* Cut does not exist */
0032     R_RECURSIVECUT,     /* Cut is recursively defined */
0033     R_NO_HISTOGRAM,     /* id is not a histogram */
0034     R_SHAPE_ERROR,      /* Runtime error, not matching shapes */
0035     R_IOERROR,      /* Error reading or writing a file*/
0036     R_STOP,         /* User requested break (e.g. scan)*/
0037     R_NOEVT         /* No events were selected */
0038 
0039 } ReturnValue;
0040 
0041 
0042 #endif  /*  _errors_h   */