home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1993 #2 / Image.iso / clipper / 52capi.zip / ERROR.CH < prev    next >
Text File  |  1993-02-15  |  1KB  |  62 lines

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