Changeset 1683 for trunk/psLib/src/sysUtils/psError.h
- Timestamp:
- Sep 2, 2004, 12:23:20 PM (22 years ago)
- Location:
- trunk/psLib/src/sysUtils
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/sysUtils
- Property svn:ignore
-
old new 1 1 *.i 2 psErrorCodes.h
-
- Property svn:ignore
-
trunk/psLib/src/sysUtils/psError.h
r1448 r1683 1 2 1 /** @file psError.h 3 2 * … … 13 12 * @author Eric Van Alst, MHPCC 14 13 * 15 * @version $Revision: 1. 8$ $Name: not supported by cvs2svn $16 * @date $Date: 2004-0 8-10 01:55:34$14 * @version $Revision: 1.9 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2004-09-02 22:23:20 $ 17 16 * 18 17 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 22 21 #define PS_ERROR_H 23 22 23 #include<stdio.h> 24 25 #include "psErrorCodes.h" 26 24 27 /** @addtogroup ErrorHandling 25 28 * @{ 26 29 */ 30 31 typedef 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 } 37 psErr; 38 39 const psErr *psErrorGet(int which); 40 const psErr *psErrorLast(void); 41 void psErrorClear(void); 42 43 void psErrorStackPrint(FILE *fd, const char *fmt, ...); 44 void psErrorStackPrintV(FILE *fd, const char *fmt, va_list va); 27 45 28 46 /** Reports an error message to the logging facility
Note:
See TracChangeset
for help on using the changeset viewer.
