home *** CD-ROM | disk | FTP | other *** search
- /*
- ** syberror.h 34.1 5/10/88
- **
- ** ERROR.H
- **
- ** The major component numbers for error handling are defined here.
- ** So are the return codes from exception handlers and ex_raise().
- **
- ** Requires:
- ** none
- **
- ** History:
- ** 20 Jun 85 (wood) - added more support for ex. handlers and ex_raise()
- ** 28 Jan 86 (kyle) - added EX_VAR, indicates var used in backout code
- ** 06 May 86 (kyle) - Rearranged severity levels
- ** 09 Sep 86 (jeffs)- Added Buildmaker
- ** 06 Oct 86 (andy) - Chopped out all server-specific definitions.
- **
- */
-
- /* Major Component of error code (This is not currently used) */
- #define EXCEPTION 1 /* an error within the exception mechanism */
- #define EXSIGNAL 2
- #define EXSCREENIO 3
- #define EXDBLIB 4
- #define EXFORMS 5
- #define EXCLIPBOARD 6
- #define EXLOOKUP 7
-
- /* The severity levels are defined here */
- #define EXINFO 1 /* informational, non-error */
- #define EXUSER 2 /* user error */
- #define EXNONFATAL 3 /* non-fatal error */
- #define EXCONVERSION 4 /* Error in DB-LIBRARY data conversion. */
- #define EXSERVER 5 /* The Server has returned an error flag. */
- #define EXTIME 6 /* We have exceeded our timeout period while
- * waiting for a response from the Server -
- * the DBPROCESS is still alive.
- */
- #define EXPROGRAM 7 /* coding error in user program */
- #define EXRESOURCE 8 /* running out of resources - the DBPROCESS
- * may be dead.
- */
- #define EXCOMM 9 /* failure in communication with Server -
- * the DBPROCESS is dead.
- */
- #define EXFATAL 10 /* fatal error - the DBPROCESS is dead. */
- #define EXCONSISTENCY 11 /* internal software error - notify Sybase
- * Technical Supprt.
- */
-