home *** CD-ROM | disk | FTP | other *** search
/ Mac-Source 1994 July / Mac-Source_July_1994.iso / C and C++ / Graphics⁄Sound / crit / progerr.h < prev    next >
Encoding:
C/C++ Source or Header  |  1986-11-05  |  363 b   |  12 lines  |  [TEXT/????]

  1. /*
  2.  * progerr.h - error names for program-specific errors.
  3.  *
  4.  * The value of an error here is a string number to be passed to
  5.  *  progstop(), prognote(), or progcaution().
  6.  */
  7.  
  8. #define PE_NOMEM    1    /* out of memory        */
  9. #define PE_TYPE        2    /* wrong type of file        */
  10. #define PE_CORRUPT    3    /* data file is corrupt        */
  11. #define PE_VBAD        4    /* incompatible file version    */
  12.