IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 2, 2004, 12:23:20 PM (22 years ago)
Author:
desonia
Message:

added psErrorCodes.[ch] and required script to insert the information from
psErrorCodes.dat into them as needed.

Location:
trunk/psLib/src/sysUtils
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/sysUtils

    • Property svn:ignore
      •  

        old new  
        11*.i
         2psErrorCodes.h
  • trunk/psLib/src/sysUtils/psError.h

    r1448 r1683  
    1 
    21/** @file  psError.h
    32 *
     
    1312 *  @author Eric Van Alst, MHPCC
    1413 *
    15  *  @version $Revision: 1.8 $ $Name: not supported by cvs2svn $
    16  *  @date $Date: 2004-08-10 01:55:34 $
     14 *  @version $Revision: 1.9 $ $Name: not supported by cvs2svn $
     15 *  @date $Date: 2004-09-02 22:23:20 $
    1716 *
    1817 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    2221#define PS_ERROR_H
    2322
     23#include<stdio.h>
     24
     25#include "psErrorCodes.h"
     26
    2427/** @addtogroup ErrorHandling
    2528 *  @{
    2629 */
     30
     31typedef struct
     32{
     33    char *name;                        ///< category of code that caused the error
     34    psErrorCode code;                  ///< class of error
     35    char *msg;                         ///< the message associated with the error
     36}
     37psErr;
     38
     39const psErr *psErrorGet(int which);
     40const psErr *psErrorLast(void);
     41void psErrorClear(void);
     42
     43void psErrorStackPrint(FILE *fd, const char *fmt, ...);
     44void psErrorStackPrintV(FILE *fd, const char *fmt, va_list va);
    2745
    2846/** Reports an error message to the logging facility
Note: See TracChangeset for help on using the changeset viewer.