Main Page   Modules   Data Structures   File List   Data Fields   Globals  

incl/error_codes.h

Go to the documentation of this file.
00001 /* === Doxygen File Comment ============================== */
00012 /* ======================================================= */
00013 
00014 /* code used to define programmer's preferred control level for error */
00015 
00016 #define FATAL   0 /* default value */
00017 #define WARNING 1
00018 #define NONE    2
00019 
00020 /* -------------------------- Tiger Error codes --------------------- */
00021 
00022 #define OK               0  /* Successful return                      */
00023 #define UNKNOWN         -1  /* Unknown                                */
00024 #define ERR_EOF         -2  /* EOF indicator                          */
00025 #define ERR_BAD_PARAM   -3  /* Input element is bad                   */
00026 #define ERR_NB_PARAM    -4  /* Bad input number of elements           */
00027 #define ERR_BAD_TYPE    -5  /* Invalid data type                      */
00028 #define ERR_BAD_SIZE    -6  /* Field width not wide enough            */
00029 #define ERR_OPEN        -10 /* Error opening existing file            */
00030 #define ERR_CREAT       -11 /* Error opening new file                 */
00031 #define ERR_READ        -12 /* Error reading file                     */
00032 #define ERR_WRIT        -13 /* Error writing to file                  */
00033 #define ERR_CLOSE       -14 /* Error closing existing file            */
00034 #define ERR_ACCESS      -15 /* Invalid file access mode               */
00035 #define ERR_NAXIS       -20 /* Invalid NAXIS parameter                */
00036 #define ERR_NOIDENT     -21 /* Identifier not found                   */
00037 #define ERR_OFFSET      -31 /* Error returning offset to data         */
00038 #define ERR_NODATA      -32 /* No data available                      */
00039 #define ERR_BAD_IMA     -41 /* Not an image !                         */
00040 #define ERR_IMA_BOUND   -42 /* Bad section specification for image    */
00041 #define ERR_IMA_EXT     -43 /* Bad extension for image                */
00042 #define ERR_NOIMA       -44 /* Image does not exist                   */
00043 #define ERR_DEL_IMA     -45 /* Error deleting image                   */
00044 #define ERR_REN_IMA     -46 /* Error renaming image                   */
00045 #define ERR_IMA_HEAD    -47 /* Illegal image header                   */
00046 #define ERR_BAD_TBL     -51 /* Not a table !                          */
00047 #define ERR_TBL_EXT     -53 /* Bad extension for table                */
00048 #define ERR_NOTBL       -54 /* Table does not exist                   */
00049 #define ERR_DEL_TBL     -55 /* Error deleting table                   */
00050 #define ERR_REN_TBL     -56 /* Error renaming table                   */
00051 #define ERR_TBL_HEAD    -57 /* Illegal table header                   */
00052 #define ERR_BAD_COL     -59 /* Error in column format                 */
00053 #define ERR_NOCOL       -60 /* Column does not exist                  */
00054 #define ERR_COL_NUM     -62 /* Wrong column number                    */
00055 #define ERR_ROW_NUM     -63 /* Wrong row number                       */
00056 #define ERR_NODESC      -80 /* Header parameter not found             */
00057 #define ERR_BAD_HEAD    -81 /* Illegal data type for header parameter */
00058 #define ERR_DEL_DESC    -82 /* Cannot delete descriptor               */
00059 #define ERR_BAD_DESC    -83 /* Descriptor bad                         */
00060 #define ERR_HEADER_SIZE -85 /* Out of space in header                 */
00061 #define ERR_BAD_CAT     -90 /* Not a catalog !                        */
00062 #define ERR_GRAPH_DEV  -100 /* Bad graphics device                    */
00063 #define ERR_ALLOC      -110 /* Error allocating dynamic memory        */
00064 #define ERR_FREE       -111 /* Error freeing dynamic memory           */
00065 #define ERR_OVERFLOW   -112 /* Overflow (column/frame)                */
00066 #define ERR_FORMAT     -113 /* Unknown data format                    */
00067 #define ERR_NOIMPL     -130 /* Not yet implemented                    */

Generated on Tue Jul 1 17:35:45 2003 for IFU_C_iolibs by doxygen1.3