home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 5 / 05.iso / a / a009 / 5.ddi / INCLUDE.LIF / ERROR.CH < prev    next >
Encoding:
Text File  |  1991-04-14  |  1.0 KB  |  51 lines

  1. /***
  2. *   error.ch
  3. *   Clipper 5.0 generic error codes
  4. *   Copyright (c) 1990 Nantucket Corp.  All rights reserved.
  5. */
  6.  
  7.  
  8. // Severity levels (e:severity)
  9. #define ES_WHOCARES            0
  10. #define ES_WARNING            1
  11. #define ES_ERROR            2
  12. #define ES_CATASTROPHIC        3
  13.  
  14.  
  15. // Generic error codes (e:genCode)
  16. #define EG_ARG                1
  17. #define EG_BOUND            2
  18. #define EG_STROVERFLOW        3
  19. #define EG_NUMOVERFLOW        4
  20. #define EG_ZERODIV            5
  21. #define EG_NUMERR            6
  22. #define EG_SYNTAX            7
  23. #define EG_COMPLEXITY        8
  24.  
  25. #define EG_MEM                11
  26. #define EG_NOFUNC            12
  27. #define EG_NOMETHOD            13
  28. #define EG_NOVAR            14
  29. #define EG_NOALIAS            15
  30. #define EG_NOVARMETHOD        16
  31.  
  32. #define EG_CREATE            20
  33. #define EG_OPEN                21
  34. #define EG_CLOSE            22
  35. #define EG_READ                23
  36. #define EG_WRITE            24
  37. #define EG_PRINT            25
  38.  
  39. #define EG_UNSUPPORTED        30
  40. #define EG_LIMIT            31
  41. #define EG_CORRUPTION        32
  42. #define EG_DATATYPE            33
  43. #define EG_DATAWIDTH        34
  44. #define EG_NOTABLE            35
  45. #define EG_NOORDER            36
  46. #define EG_SHARED            37
  47. #define EG_UNLOCKED            38
  48. #define EG_READONLY            39
  49. #define EG_APPENDLOCK        40
  50.  
  51.