psExit.h

Go to the documentation of this file.
00001 #ifndef PS_EXIT_H
00002 #define PS_EXIT_H
00003 
00004 /// @addtogroup SysUtils System Utilities
00005 /// @{
00006 
00007 /// Exit status codes
00008 ///
00009 /// These provide a bit finer granularity compared to success/fail
00010 typedef enum {
00011     PS_EXIT_SUCCESS = 0,                ///< Successful termination; matches EXIT_SUCCESS
00012     PS_EXIT_UNKNOWN_ERROR = 1,          ///< Error of unknown nature; matches EXIT_FAILURE
00013     PS_EXIT_SYS_ERROR,                  ///< Error with a system call
00014     PS_EXIT_CONFIG_ERROR,               ///< Error with configuration
00015     PS_EXIT_PROG_ERROR,                 ///< Error in programming (look also for aborts)
00016     PS_EXIT_DATA_ERROR,                 ///< Error with data
00017     PS_EXIT_TIMEOUT_ERROR,              ///< Error due to timeout
00018 } psExit;
00019 
00020 /// @}
00021 #endif

Generated on Fri Feb 2 22:24:35 2007 for pslib by  doxygen 1.5.1