home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.3 (Developer) / NeXT_Developer-3.3.iso / usr / sybase / include4_0 / syberror.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-03-19  |  1.6 KB  |  48 lines

  1. /*
  2.  *    syberror.h    62.1    4/10/90
  3.  *
  4.  *    Sybase DB-LIBRARY Version 4.0
  5.  *    Confidential Property of Sybase, Inc.
  6.  *    (c) Copyright Sybase, Inc. 1988, 1989
  7.  *    All rights reserved
  8.  *
  9.  *
  10.  * Use, duplication, or disclosure by the United States Government
  11.  * is subject to restrictions as set forth in subparagraph (c) (1) (ii)
  12.  * of the Rights in Technical Data and Computer Software clause
  13.  * at CFR 52.227-7013. Sybase, Inc. 6475 Christie Avenue, Emeryville,
  14.  * CA 94608.
  15.  *
  16.  */
  17.  
  18. /* Major Component of error code (This is not currently used) */
  19. #define EXCEPTION    1    /* an error within the exception mechanism */
  20. #define EXSIGNAL    2
  21. #define    EXSCREENIO    3
  22. #define    EXDBLIB        4
  23. #define EXFORMS        5
  24. #define EXCLIPBOARD    6
  25. #define EXLOOKUP    7
  26.  
  27. /* The severity levels are defined here */
  28. #define    EXINFO        1    /* informational, non-error */
  29. #define    EXUSER        2    /* user error */
  30. #define    EXNONFATAL    3    /* non-fatal error */
  31. #define EXCONVERSION    4    /* Error in DB-LIBRARY data conversion. */
  32. #define EXSERVER    5    /* The Server has returned an error flag. */
  33. #define EXTIME        6    /* We have exceeded our timeout period while
  34.                  * waiting for a response from the Server -
  35.                  * the DBPROCESS is still alive.
  36.                  */
  37. #define EXPROGRAM    7    /* coding error in user program */
  38. #define    EXRESOURCE    8    /* running out of resources - the DBPROCESS
  39.                  * may be dead.
  40.                  */
  41. #define    EXCOMM        9    /* failure in communication with Server -
  42.                  * the DBPROCESS is dead.
  43.                  */
  44. #define    EXFATAL        10    /* fatal error - the DBPROCESS is dead. */
  45. #define    EXCONSISTENCY    11    /* internal software error  - notify Sybase
  46.                  * Technical Supprt.
  47.                  */
  48.